Skip to content

Time actions

Time actions are used to perform actions related to time in the editor. You can use these actions to wait for a specific time, wait for user input, and more.

Wait for a specific time

Wait for a specific time before executing the next action.

{
"action": "waitForTimeout",
"timeout": "<timeout in milliseconds>"
}

Wait for user input

Wait until the user presses a key.

{
"action": "waitForInput",
"message": "<input title (optional)>"
}

Pause the demo

Pause the demo until you manually trigger the next step (for example, via a command Demo Time: Continue Demo or button which is keybinded to the next button). This is useful for live presentations where you want to control the flow interactively.

{
"action": "pause"
}