Documentation

Support

Unity Lite

Open Unity Lite

Unity Lite

While node

Trigger node while a specific condition is true which allows for continuous execution of the connected actions.
Read time 1 minuteLast updated 2 days ago

Use the While node to continuously run connected actions for as long as a condition is true. It checks the condition every frame. While the condition is true, the node triggers once per frame. When it becomes false, it stops until the condition is true again.

Sockets

Socket

Type

Description

Condition
Bool
Checks if the condition is true or false. While true, the node triggers once per frame; when false, it stops.
Event
Event (output)
Fires this event once per frame while the condition is true. Connect the actions you want to run during the loop.