The exit() function stops the program from running. If you still want the program to run don’t use it to close the window. You can use surface.setVisible() to just take away the window
2 Likes
The exit() function stops the program from running. If you still want the program to run don’t use it to close the window. You can use surface.setVisible() to just take away the window