IsDisabledRawKeyReleased
Docslocal retval = IsDisabledRawKeyReleased(rawKeyIndex)Description
Gets if the specified rawKeyIndex was released, even if the key is disabled with DISABLE_RAW_KEY_THIS_FRAME.
Virtual key codes can be found here
Parameters
| Name | Type | Description |
|---|---|---|
rawKeyIndex | int | Index of raw key from keyboard. |
Returns
BOOLReturns TRUE (1) or FALSE (0).
Examples
Official
if IsDisabledRawKeyReleased(32) then -- KEY_SPACE
print("Spacebar released")
end