Skip to content

function isKeyDisabled (client-side)

Available since version: 0.3.0

The function is used to check whether the specified keyboard key is disabled.

Declaration

bool isKeyDisabled(int keyId)

Parameters

  • int keyId: The key code to check. For more information about key codes, see Key Constants.

Returns bool

true when disabled, otherwise false.