keyclick
Queues a key-down followed by a key-up event for the game.
Syntax
keyclick(key: number | string) -> ()
Also available as
keytapkey_clickkey_tap
Parameters
| Parameter | Type | Description |
|---|---|---|
key | number or string | Supported virtual-key code or key name. |
Description
A key can be a supported Windows virtual-key number from 0 through 255 or a recognized name such as Space, Enter, LeftShift or F1 through F24. These events enter the current game instance; they do not type into arbitrary desktop applications. Unsupported keys and an unavailable or full input queue raise errors.
Example
keyclick("Space")
These are Game executor contracts. Check build requirements and session lifetimes before using them.
