# Periodic

The Periodic trigger runs the operation, at a regular interval based on the start time in the display unit.

##### Block

##### Text

onInterval(1, $Enums.Interval.Seconds, ()=>{
1 2
});

1: Length of interval

2: Units are 'OneHundredMSecs', 'Seconds', 'Minutes', or 'Hours'.

The start time depends on the script you created.

- Global Script: This trigger is enabled when the application starts and will be disabled when the application stops.
- Script: This trigger is enabled when the screen is opened and will be disabled when another screen is opened.