KeyState

keystate [<key>]

Checks whether a specific key is pressed down.

Parameters:

  1. The key to get the state of.

Returns: True if the key is pressed down. False if the key is not pressed down.