Motion
Get Motion

ReferenceScript nodesUtilities › Flow Control

Switch on Integer

Goes the way of the output numbered as the selection is (counting from Start Index), or Default.

Inputs

PinTypeStarts atNotes
inwhat happens next––
Selectionvalueint0–
Start Indexstartint0–

Outputs

None.

The code it becomes

The graph below written as a script would write it.

// On Scene Startswitch (0 - 0) {    case 0: {    } break;    case 1: {    } break;    case 2: {    } break;    default: {    }}

In a graph

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