hello, I am making a new animatronic robot and I wanted to know how to make that when a button is not pressed an instruction is just made 1 time untill the button is pressed and not pressed again
any ideas?
hello, I am making a new animatronic robot and I wanted to know how to make that when a button is not pressed an instruction is just made 1 time untill the button is pressed and not pressed again
any ideas?
how to make that when a button is not pressed an instruction is just made 1 time untill the button is pressed and not pressed again
I think you have the order of operations incorrect. Do the instruction when the switch BECOMES released. Since the switch can't BECOME released until after it BECOMES pressed, you'll only execute the instruction (set) once.
Look at the state change detection example.