Virtual Key
Virtual Key¶
Virtual Key elements detect player input and store the result in a variable or switch.
Properties¶
System¶
| Name | Explanation | Type |
|---|---|---|
| Duration (milliseconds) | The duration of the element in milliseconds. | Number |
| Key Hold | Whether a key hold is the expected interaction. | Toggle |
| Key Press | Whether a key press is the expected interaction. | Toggle |
| Key Tap | Whether a repeated key press (key tap) is the expected interaction. | Toggle |
| Start Time (milliseconds) | The time to start the sequence element at in milliseconds. | Number |
| Switch Result | The switch result, if valid. | Switch |
| Variable Result | The variable result, if valid. | Variable |
| Virtual Key | The virtual key to watch for. | Virtual Key |
| Wait to Complete | Whether this element must finish before the next element begins. | Toggle |