key
Presses single keystrokes or keyboard shortcuts, optionally holding and repeating them, to trigger app commands or game movement; use typing for text entry.
Instructions
按键或组合键,如 "ctrl+s"(Mac 上是 "cmd+s")、"esc"、"w"。hold 是按住秒数(游戏里走路用),times 是重复次数。字符键会经过输入法,输入文字请用 type。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hold | No | ||
| keys | Yes | ||
| times | No |