Motion
Get Motion

ReferenceScript nodesMath › Integer

Select Integer

A when Pick A is true, otherwise B.

Math › IntegerPure: no flow pinsselectInt

Inputs

PinTypeStarts atNotes
Aaint0–
Bbint1–
Pick ApickAboolfalse–

Outputs

PinType
Resultoutint

The code it becomes

The graph below written as a script would write it.

// On Scene Startscene.log((((false) ? 0 : 1)));

In a graph

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