ReferenceScript nodesUtilities › Flow Control
Wait Until
Waits until the Condition is true (it looks each tick), then goes on.
◷Wait Until
Condition
Inputs
| Pin | Type | Starts at | Notes |
|---|---|---|---|
in | what happens next | – | – |
Conditioncondition | bool | true | – |
Outputs
| Pin | Type |
|---|---|
then | what happens next |
The code it becomes
The graph below written as a script would write it.
// On Scene Start{ const id = scene.every(0, function () { if (!(true)) return; scene.cancel(id); });}In a graph
◆On Scene Start
◷Wait Until
Condition
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.