getKeyState( key )

instance function

Check to see if a key is being pressed.

Arguments

Name Type Description
key String The key to check

Returns

Type Description
Boolean True if the key is currently being pressed