Motion
Get Motion

ReferenceScript nodesUtilities › Flow Control

Do Once

Goes on the first time only (reset lets it go once more); with Start Closed on, not until it's been reset.

Inputs

PinTypeStarts atNotes
inwhat happens next––
Resetresetwhat happens next––
Start ClosedstartClosedboolfalse–

Outputs

PinType
Completedthenwhat happens next

The code it becomes

The graph below written as a script would write it.

let q2 = undefined;// On Scene Startif (q2 === undefined) q2 = !!(false);if (!q2) {    q2 = true;}

In a graph

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