Skip to main content
1 of 2
Lectem
  • 171
  • 6

I would personally use the keyboard class that allows you to query the state of keys instead of waiting for an event.

The documentation is here

Lectem
  • 171
  • 6