One Actor, Two Actions
Hey all!
How could I get a button to do something when pressed, then do something else when pressed again?
Thanks!
How could I get a button to do something when pressed, then do something else when pressed again?
Thanks!
Best Answer
-
lycettebros Posts: 1,598
Make a Boolean for when it is pressed to true and leave it true - if it is hit again the true state can trigger another action..
Press button
Do this and change boolean to true
If boolean is true then do this.