Motion
Get Motion

ReferenceScript nodesEvents

On Timer

Every so many seconds. Count goes up by one each time.

Eventsevery

Inputs

PinTypeStarts atNotes
Timesecondsnumber1–

Outputs

PinType
thenwhat happens next
Countcountnumber

The code it becomes

The graph below written as a script would write it.

let s2_count = 0;// On Timerscene.every(1, function () { s2_count++;});// On Scene Startscene.log(s2_count);

In a graph

The node with what starts it and Print to show what it gives, as Studio draws them.