Discord
Login
Community
DARK THEME

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.

you can use: keyboard.ESCAPE (keyboard.key)

Also, you can use this little tool by @gilles to see the return value for every key:

https://microstudio.dev/i/gilles/keyboardtest/

Post a reply

Progress

Status

Preview
Cancel
Post
Validate your e-mail address to participate in the community