Sleep
Runs on: Shared (backend or chatbox overlay).
Waits a number of seconds, then passes the input value through unchanged. Use it to space out actions or stagger alerts.
Inputs
| Name | Type | Description |
|---|---|---|
Value | any | The value to pass through after the delay. |
Duration | number | Seconds to wait. Overrides the configured duration when connected. |
Outputs
| Name | Type | Description |
|---|---|---|
Value | any | The original value, emitted after the delay. |
Configuration
- Duration: Seconds to wait. Overridden by the Duration input when connected.
Example
To show a "Thanks for subscribing!" alert and play a sound 3 seconds later, connect the sub trigger to the alert effect directly, and also through a Sleep node set to 3 seconds to the sound effect.