function disableKey (client-side)
Available since version: 0.3.0
Disable/enable specified keyboard key, like: ESCAPE, TAB, etc.
Declaration
boolean disableKey(number keyId, boolean toggle)
Parameters
numberkeyId: The key code to disable. For more information about key codes, see Key Constants.booleantoggle: true when you want to disable specified keyboard key, otherwise false
Returns boolean
True on success.