Motion
Get Motion

ReferenceScript nodesMath › Random

Random Boolean

True or false at random.

Math › RandomPure: no flow pinsrandomBool

Inputs

None.

Outputs

PinType
Resultoutbool

The code it becomes

The graph below written as a script would write it.

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

In a graph

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