How can i do switcher from 1 to 2 and back by 1 button?
i do something like
-if button pressed and variable = 1 then make variable 2
-if button pressed and variable = 2 then make variable 1
but as i can see, these events work one after one, so i always have my variable = 1
of course, i can do it by 2 buttons, but i wanna with one, is it possible? pls help me