Forum Discussion
GlennJones1
10 years agoCommunity Member
If....Then.....Else
Is it possible to add an If...Then...Else statement to a trigger/button?
Or do I need to add two different triggers to a button and play around with variables?
frdricBabin
3 years agoCommunity Member
Hello,
I also need this feature because I can't do what I want with several triggers.
Let's say I have two triggers:
"Change the state of X to state1 if the state of X is state2"
and
"Change state of X to state2 if state of X is state1".
Well, if I don't use if/else, it doesn't work since the second trigger will overwrite the first one.
Variables are not something I want to use in this case for other reasons (the main one being that a variable is global to the project).