On Timer
Every so many seconds. Count goes up by one each time.
◆On Timer
Time1
Count
Inputs
| Pin | Type | Starts at | Notes |
|---|---|---|---|
Timeseconds | number | 1 | – |
Outputs
| Pin | Type |
|---|---|
then | what happens next |
Countcount | number |
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
◆On Scene Start
◆On Timer
Time1
Count
ƒPrint
In Text
The node with what starts it and Print to show what it gives, as Studio draws them.
Related
Notes from the community
Written by creators and checked by the docs' editors. Not part of Motion's official reference.