Motion
Get Motion

ReferenceScript nodesMath › Colour

Select Colour

A when Pick A is true, otherwise B.

Math › ColourPure: no flow pinsselectColour

Inputs

PinTypeStarts atNotes
Aacolour and alpha"#ffffffff"–
Bbcolour and alpha"#000000ff"–
Pick ApickAboolfalse–

Outputs

PinType
Resultoutcolour and alpha

The code it becomes

The graph below written as a script would write it.

// On Scene Startscene.log((((false) ? "#ffffffff" : "#000000ff")));

In a graph

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