Motion
Get Motion

ReferenceScript nodesMath › Number

Sign

-1, 0 or 1.

Math › NumberPure: no flow pinssign

Inputs

PinTypeStarts atNotes
Axnumber-2–

Outputs

PinType
Resultoutnumber

The code it becomes

The graph below written as a script would write it.

// On Scene Startscene.log((Math.sign((-2))));

In a graph

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