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 |
instance function
Check to see if a key is being pressed.
Name | Type | Description |
---|---|---|
key | String | The key to check |
Type | Description |
---|---|
Boolean | True if the key is currently being pressed |