VisualScriptSwitch

Inherits: VisualScriptNode < Resource < Reference < Object

Branches program flow based on a given input’s value.

Description

Branches the flow based on an input’s value. Use Case Count in the Inspector to set the number of branches and each comparison’s optional type.

Input Ports:

  • Sequence: 'input' is
  • Data (variant): =
  • Data (variant): = (optional)
  • Data (variant): input

Output Ports:

  • Sequence
  • Sequence (optional)
  • Sequence: done

Doc ID missing

Disclaimer: This page has been automaticaly and directly extracted from the official Godot Docs website, the 1970-01-01 at 00:00:00. It’s the English Stable version because it’s what most Godot users should use. The Copyright owners are Juan Linietsky, Ariel Manzur and the Godot community. CC-BY 3.0. Thanks for your patience and generosity.