Does the Enable property affect Scripts assigned to a momentary button?

I have a momentary button with an if else script. I've binded a tag to the Enabled property on the button. It seems, however, that even when the button is disabled the script still runs. Is this because the script is disregarding the Enabled property of the button and does it's own thing? On other buttons I am just using the Set Property function and the Enabled property works fine.

An if/else script where, on which event handler?

1 Like


You'll want to move your script to the actionPerformed event handler

1 Like

Awesome, thanks!