W3cubDocs

/Godot 3.2

VisualScriptWhile

Inherits: VisualScriptNode < Resource < Reference < Object

Conditional loop.

Description

Loops while a condition is true. Execution continues out the exit Sequence port when the loop terminates.

Input Ports:

  • Sequence: while(cond)
  • Data (bool): cond

Output Ports:

  • Sequence: repeat
  • Sequence: exit

© 2014–2020 Juan Linietsky, Ariel Manzur, Godot Engine contributors
Licensed under the MIT License.
https://docs.godotengine.org/en/3.2/classes/class_visualscriptwhile.html