keyclick Synchronous
Press and release the key identified by its numeric key code. Use it for one complete key tap without leaving the key held. Kawaii accepts numeric virtual-key codes; this does not enter an arbitrary text string.
Luau
keyclick(keyCode: number) -> ()Parameters
| Parameter | Type | Description |
|---|---|---|
keyCode | number | Numeric key code understood by the input bridge. |
Returns
()This function returns no values.
Example
Luau
-- Focus an editable field in your own test UI during this delay.
task.wait(3)
if isrbxactive() then
keyclick(0x41) -- A
end