keyrelease
Releases a key.
Syntax
Signature
keyrelease(Code: number) -> booleanAliases
This function has no aliases.
Parameters
| Parameter | Type | Description |
|---|---|---|
Code | number | Windows virtual-key code from 8 to 254. |
Returns
| Type | Description |
|---|---|
boolean | Whether the platform accepted the event. |
Notes
macOS translates supported codes to native keys.
Example
Luau
local Result = keyrelease(65)
print(Result)