Oh this is interesting to know. I looked up in the code, and I have this line in the setup()
void setup() {
size(660, 700);
//size(800,700);
//size(2048,1152);
frameRate(10);
...
Could you tell me where should I put the exit() as I didn’t find the exit() function? Also, I looked up here but don’t know if I have to put the exit in the mousePressed(). Please let me know. Thanks
https://processing.org/reference/exit_.html