I would like to add a button in order to change state of an obect in order to show the state 1, when the user push again the button it shows the state 2, when it re-push the button it shows the state 4, when it re-re-push the button it shows the state normal, and go for another loop.
But I can't do it at each time, at least, on of the state disappeared. I give you an example, if you want to look at my problem.
Just to make sure I understand, this is how you'd like to have the sequence:
Display > Normal
First Click > State 1
Second Click > State 2
Third Click > State 3
Fourth Click > State 4
Fifth Click > Reset to Normal (beginning) State
Does that look right? If so, you may have better luck using a variable for this. You could have the variable add "1" to each click, for example, then have another trigger that resets this on the fifth click (the one that comes after State 4) to "0". Trigger the Normal State when the variable equals "0".
I've taken your original file and set this up for you, if you'd like to check it out
3 Replies
Hi Sébastien! I hope you're doing well
Just to make sure I understand, this is how you'd like to have the sequence:
Display > Normal
Does that look right? If so, you may have better luck using a variable for this. You could have the variable add "1" to each click, for example, then have another trigger that resets this on the fifth click (the one that comes after State 4) to "0". Trigger the Normal State when the variable equals "0".
I've taken your original file and set this up for you, if you'd like to check it out
I hope this helps!
Hello Christine,
yes it was exactly what I needed !
Thank you very much !
Sebastien
Glad to hear it!
Good luck with the project and have a great day, Sébastien!
Christine
This discussion is closed. You can start a new discussion or contact Articulate Support.