I need a shortcut for stopping sketch in Processing

please format code with </> button * homework policy * asking questions


I want to create a custom shortcut for stopping the sketch because there is no shortcut for that
is there any code I can use in the program for that

Just press on your keyboard :



Hello @abdu

There are a few nice suggestions in this thread:


Just hit esc on the keyboard, sometimes it doesnt work unless you click the screen first, to solve that issue put


in the void setup function
not sure if the surface is even needed in the newer version as im still using 3.54

1 Like