I have a homing and probing script that I wrote that is called from an external .m1s from a button in my screen set. The script runs fine but if the user hits the esc key during runtime the script doesn't exit. It stops current function and moves to the next function so you have to hit the esc key 3 times before it exits the script. How can I exit the script completely on the esc key event.