Hi!
What is the problem with the button click? Are you using a CustomScriptButton? There is the extra scipt WDCustomScriptClick,'ID' for that kind.
I don't exactly get what you mean with your if-question. I think you know, that you donÄt have to use an extra if-node as the if-request is built in the script node.
You want to run a script while y is largen than 300!? That's all? Or do you want to have another if-case behind that?
I have rebuilt this with a mouse input.
Please keep in mind, that every changing above value 300 will again run your script as the condition is true at that moment.
If you need two cases, add another if-node in front of the output node.
Markus
scriptnode.png
You do not have the required permissions to view the files attached to this post.