ReferenceScript nodesUtilities
Select
One of four values, by its index from 0 (past them, the plain value of option 0's type).
ƒSelect
Index0Result
Option 0dawn
Option 1day
Option 2dusk
Option 3night
Inputs
| Pin | Type | Starts at | Notes |
|---|---|---|---|
Indexindex | int | 0 | – |
Option 0a | any | "dawn" | – |
Option 1b | any | "day" | – |
Option 2c | any | "dusk" | – |
Option 3d | any | "night" | – |
Outputs
| Pin | Type |
|---|---|
Resultout | any |
In a graph
◆On Scene Start
ƒSelect
Index0Result
Option 0dawn
Option 1day
Option 2dusk
Option 3night
ƒPrint
In Text
The node with what starts it and Print to show what it gives, as Studio draws them.
Related
Notes from the community
Written by creators and checked by the docs' editors. Not part of Motion's official reference.