W3cubDocs

/Godot 3.0

VisualScriptCondition

Inherits: VisualScriptNode < Resource < Reference < Object

Category: Core

Brief Description

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–2018 Juan Linietsky, Ariel Manzur, Godot Engine contributors
Licensed under the MIT License.
http://docs.godotengine.org/en/3.0/classes/class_visualscriptcondition.html