Hold down a physical key (key.down)
Declaration
key.down(keycode)
Parameters
- keycode
String. Physical key code. See Samples and supported key codes.
Notes
- Simulate pressing down a physical key.
- Important: Call the corresponding
key.up
afterwards. Otherwise the key may remain held even after the script ends.
Example
See chapter end