How to toggle a variable with a button May 10, 2012 By saffir test How do you flip-flop a variable from true to false when a user clicks a button? This is what I've used below, but it only changes the variable once and then does nothing. HELP!
Willi Stolz over 5 years ago12/14/18 at 9:39 pm (UTC) When setting Booleans, use the Operator: '= Not Assignment' to toggle the value of the variable.
Daniel Servan over 5 years ago12/15/18 at 2:23 am (UTC) Hey,I have a simple way of doing this Toggle thingy. Okay, kindly hold my beer and I'll show you how easy! ;)
Paul Tottle 4 years ago04/10/20 at 8:53 pm (UTC) Been hunting for the same thing. Now there's a Toggle option. Even easier. To find it go to Trigger>Adjust variable > Set or Toggle
28 Replies
When setting Booleans, use the Operator: '= Not Assignment' to toggle the value of the variable.
Hey,
I have a simple way of doing this Toggle thingy. Okay, kindly hold my beer and I'll show you how easy! ;)
Been hunting for the same thing. Now there's a Toggle option. Even easier. To find it go to Trigger>Adjust variable > Set or Toggle
This discussion is closed. You can start a new discussion or contact Articulate Support.