Motion
Get Motion

ReferenceScript nodesMath › Number

Maximum

The larger of A and B.

Math › NumberPure: no flow pinsmaximum

Inputs

PinTypeStarts atNotes
Aanumber0–
Bbnumber1–

Outputs

PinType
Resultoutnumber

The code it becomes

The graph below written as a script would write it.

// On Scene Startscene.log((Math.max(0, 1)));

In a graph

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