Hey,

I am making a program that has a continuous loop, all up the "cycle" takes around 30 seconds, even after I close the program the loop continues to run (seeing as it includes a mouse_event it is quite annoying).

I was wondering how I could add a "Stop" button, that kills all processes the program is running but keeps it open?

Thanks.