Motion
Get Motion

ReferenceScript nodesMath › Random

Random Number

A random number from 0 up to 1 (1 not included), new each time it's read.

Math › RandomPure: no flow pinsrandomFloat

Inputs

None.

Outputs

PinType
Resultoutnumber

The code it becomes

The graph below written as a script would write it.

// On Scene Startscene.log((Math.random()));

In a graph

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