Motion
Get Motion

ReferenceScript nodesUtilities › Flow Control

Cooldown

Goes on, then not again until the seconds have passed.

Inputs

PinTypeStarts atNotes
inwhat happens next––
Durationsecondsnumber1–

Outputs

PinType
thenwhat happens next

The code it becomes

The graph below written as a script would write it.

let q2 = -1e9;// On Scene Startif (scene.time - q2 >= 1) {    q2 = scene.time;}

In a graph

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