Motion
Get Motion

ReferenceScript nodesMath › Number

Round

The nearest whole number; halves go up.

Math › NumberPure: no flow pinsroundOf

Inputs

PinTypeStarts atNotes
Axnumber1.5–

Outputs

PinType
Resultoutnumber

The code it becomes

The graph below written as a script would write it.

// On Scene Startscene.log(((Math.floor(1.5 + 0.5) + 0)));

In a graph

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