isKeyPressed

Checks if the specified key is currently pressed.

Return

true if the key is currently pressed, false otherwise

Parameters

keyCode

The key code to check