VisualScriptSelect

Inherits: VisualScriptNode < Resource < Reference < Object

Chooses between two input values.

Description

Chooses between two input values based on a Boolean condition.

Input Ports:

  • Data (boolean): cond
  • Data (variant): a
  • Data (variant): b

Output Ports:

  • Data (variant): out

Properties

Variant.Typetype0

Property Descriptions

Default0
Setterset_typed(value)
Getterget_typed()

The input variables’ type.

doradoro's advice! Getters and Setters will be deprecated! Avoid their use!

Disclaimer: This page has been automaticaly and directly extracted from the official Godot Docs website, the 2020-03-07 at 01:44: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.