class_visualscriptwhile.rst 812 B

123456789101112131415161718192021222324252627282930313233343536
  1. .. Generated automatically by doc/tools/makerst.py in Godot's source tree.
  2. .. DO NOT EDIT THIS FILE, but the VisualScriptWhile.xml source instead.
  3. .. The source is found in doc/classes or modules/<name>/doc_classes.
  4. .. _class_VisualScriptWhile:
  5. VisualScriptWhile
  6. =================
  7. **Inherits:** :ref:`VisualScriptNode<class_visualscriptnode>` **<** :ref:`Resource<class_resource>` **<** :ref:`Reference<class_reference>` **<** :ref:`Object<class_object>`
  8. **Category:** Core
  9. Brief Description
  10. -----------------
  11. Conditional loop.
  12. Description
  13. -----------
  14. Loops while a condition is ``true``. Execution continues out the ``exit`` Sequence port when the loop terminates.
  15. **Input Ports:**
  16. - Sequence: ``while(cond)``
  17. - Data (bool): ``cond``
  18. **Output Ports:**
  19. - Sequence: ``repeat``
  20. - Sequence: ``exit``