Releases a key previously held by keypress.
The keycode is a Win32 Virtual Key Code, not a Roblox Enum.KeyCode value. For letters, pass the uppercase ASCII byte (string.byte("A") returns 65, which is VK_A). Learn more here.
The Roblox window must be focused for the call to register. See iswindowactive().
Pair this with the keypress(keycode) call that started the hold.
Parameters
Returns
void
Aliases
Example
In a chase or sprint sequence, hold W while the round’s Sprint Sound is playing under workspace and release the moment it ends.
Must follow a keypress call to complete the keystroke action.