Interval Element

The interval element is used to provide the option of setting an interval timer without the need to write code to do so. The interval element will trigger any connected elements at the interval time it’s set to.

The interval element is located in the Element Toolbox within Studio’s Embedded View and Application View.

Element Icon
Interval Element

Some properties of the interval element are only available on specific views, and are notated as such next to the property name below.

Properties

The following properties can be changed for the interval element:

Name

The name of the element.

Start on Initialize (Application View only)

The state of the interval starting when the project initializes. If this option is not selected, the interval needs to trigger from a source element.

Time

The time (in milliseconds) the interval runs after it has started. This takes into account if the Start on Initialize option is enabled.

Triggers

The following triggers are available to execute events from within the interval element:

Triggered

Execute an event when the source element connected to the interval triggers.

Interval

Execute an event when the interval runs.

Paused (Application View only)

Executes an event when the interval has been paused by the Pause ability.

Started (Application View only)

Executes an event when the interval starts. Either because the Start ability was used or the interval starts on initialized.

Abilities

The following abilities are available for the interval element when its source element triggers:

Trigger

Trigger the element(s) that follow the interval element.

Start

Run the interval.

Pause

Pause the interval.

Set Time

Set the interval timer in milliseconds.

Set Time Arguments      
Name Type Description Example
Time Integer The time the interval runs after it triggers. “1000”