General

Button Toggle

Started by Lawrence on .

Sign in or create an account to join the conversation.

2 posts

Topic starter
Ok, I've run out of scripting ideas. :) Can someone give me a pointer. Very simple (I suppose) thing, I just can't figure out how.

Two buttons: Stop and Play. The Play button toggles Green when on and White when off. What I want to do is set the state of the Play button to Off/White when I press the stop button.

I've tried various things like "setattribute" things with no luck. I know there's probably a really short single line script for that but, no luck figuring it out.

Thanks guys.
I just did the same using the "switches" object. I set up one row two columns. Set the attribute to "radio". You can't label each switch, as far as I can tell, so I just put text labels above them.