ArcBasicDocs

WaitUntil

WaitUntil condition

Parameters

None.

Description

Pauses until a condition is true, checking it once a frame; meanwhile the rest of the program, and the other coroutines, carry on. If it is already true, it doesn't pause at all.

Example

WaitUntil.abs
WaitUntil NavArrived(guard)WaitUntil KeyHit(KEY_SPACE)

See also