VisualScriptCondition

Inherits: VisualScriptNode < Resource < Reference < Object

A Visual Script node which branches the flow.

Description

A Visual Script node that checks a bool input port. If true, it will exit via the "true" sequence port. If false, it will exit via the "false" sequence port. After exiting either, it exits via the "done" port. Sequence ports may be left disconnected.

Input Ports:

  • Sequence: if (cond) is
  • Data (boolean): cond

Output Ports:

  • Sequence: true
  • Sequence: false
  • Sequence: done

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