Motion
Get Motion

ReferenceScript nodesMath › Number

Fraction

What's after the point, with the sign of x (-1.25 gives -0.25).

Math › NumberPure: no flow pinsfraction

Inputs

PinTypeStarts atNotes
Axnumber1.25–

Outputs

PinType
Resultoutnumber

The code it becomes

The graph below written as a script would write it.

// On Scene Startscene.log(((1.25 - Math.trunc(1.25))));

In a graph

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