If else state on button

(Nice Cayetano) #1

I want to know how to make a button functions in if else statement using the variables
If the variable = 0
that button cannot be use or just loop around
if the variable = 100
that button can be use and proceed

(Leslie Young) #2

You would have to create separate actions which shows or do not show the button in question, or if you do not mind having the button visible but stop it from doing anything when clicked then show all buttons. In either way you will use a Branch action to determine what actually happens - showing the one or other group of buttons - or preventing a button from working. Vinoma is not string at complicated dynamic flow since everything is built so linearly but you might be able to get this going with the Branch action.