Motion
Get Motion

ReferenceScript nodesUtilities › Flow Control

Debounce

Goes on once things have been quiet for the seconds.

Inputs

PinTypeStarts atNotes
inwhat happens next––
Durationsecondsnumber0.5–

Outputs

PinType
thenwhat happens next

The code it becomes

The graph below written as a script would write it.

let q2 = 0;// On Scene Startif (q2) scene.cancel(q2);q2 = scene.after(0.5, function () {    q2 = 0;});

In a graph

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