Intervals
The Interval trigger is a type of event used in the Trigger Starter Brick that allows you to run bricks on a recurring time interval. This is useful for mods that need to continuously check for new data, poll an API, or monitor changes to content on the current page.
For example, you might:
Periodically check an API for new notifications or messages
Watch a DOM element on the page and trigger an action when it updates
Run a script every few seconds to keep data in sync
Configuration Options
Interval
How frequently the trigger should fire in milliseconds. For example, 10000
= every 10 seconds.
Run in Background
When true
, continues running even if the tab is inactive.
Run in All Frames
When true
, runs in all frames (iframes, embedded contexts).
Debounce
Optional. Helps prevent excessive triggering.
Includes:
• Delay
(ms) – time to wait before firing
• Leading
– trigger at the start
• Trailing
– trigger at the end

FAQs
What’s the minimum interval I can set? We recommend setting intervals of at least 1000 ms (1 second) to avoid performance issues.
Will intervals still run if the user navigates away from the tab?
Only if Run in Background is set to true
.
What happens if multiple frames are on the page? Use Run in All Frames to determine if the trigger should fire in each iframe or just the main window.
Last updated
Was this helpful?