Skip to main content

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​

NameTypeDescription
ValueanyThe value to pass through after the delay.
DurationnumberSeconds to wait. Overrides the configured duration when connected.

Outputs​

NameTypeDescription
ValueanyThe 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.