In graphical robotc, how can I stop program with bumper switch?

In my vex class we are trying to play battle bots. I want stop the controller from working when the bumper switch is pressed. We are only using graphical at this time. Please help…
Thank You…

Instead of having a Forever loop with all your joystick controls in as you usually would, use a while loop with the argument While bumper == 0. Put all the joystick controls in that loop instead.
When the button gets pressed, the loop exits and the controls will no longer work.

Thanks… and what if we try using 2 bumper switches… this didn’t seem to work when we added the 2nd one?

Would need an and argument, i.e. while bumperA and bumperB == 0