//Button Active + stop [ESP] void onevent_ControllerButtonRUp_pressed_0() { if (Controller.ButtonRUp.pressing()){ Morado++; } if (Variable == 1) { Shooter.spin(reverse); } if (Variable == 2) { Shooter.stop(); Morado = 0; } if (Variable == 0) { Shooter.stop(); } } //U need to setup the variable in your main with the value "1"