How do I detect if esc key is pressed?
I know the command is keyboard.press. and then the key but keyboard.press.ESC doesnt work and I cant find anything on what Im supposed to type instead.
I know the command is keyboard.press. and then the key but keyboard.press.ESC doesnt work and I cant find anything on what Im supposed to type instead.
you can use: keyboard.ESCAPE (keyboard.key)
Also, you can use this little tool by @gilles to see the return value for every key: