INPUT /  OUTPUT /  LANGUAGE





onTimer field

Code field

Code carried out each time a timer goes off.

Applies to...

The timer tag.

Sample usage

Behaviour

A code field: holds code to be carried out each time the event happens. Add code after the tag is created with .push.

While the code runs, the timer's primary field holds the count of the current repetition: 1 the first time, 2 the second, and so on, unless the timer was given another starting value.

See also