Forum Discussion
laristularistu
2 years agoCommunity Member
Button with 3 different states
Hello,
I am starting this and I have had a complicated proyect.
I don´t know is anyone can help me or know where to find this information.
I need to create a button that every time I press i changes the state, it changes the sate, it has to go through three different states.
Thank you so much
- RonPricePartner
I would recommend custom states and a number variable. I have attached a sample.
- laristularistuCommunity Member
Thank you so much!
It´s perfect, could you add the option to press the button and make it a loop? 1,2,3,2,1,2,3....
If you do not mind...
Try adding a trigger to reset the same variable that Ron used in the project back to zero but only if the state of the button is in the third state.
- laristularistuCommunity Member
Thank you so much.
I´m looking at it right now.
good day.
- laristularistuCommunity Member
Thank you so much!