.. Generated automatically by doc/tools/makerst.py in Godot's source tree. .. DO NOT EDIT THIS FILE, but the VisualScriptSelect.xml source instead. .. The source is found in doc/classes or modules//doc_classes. .. _class_VisualScriptSelect: VisualScriptSelect ================== **Inherits:** :ref:`VisualScriptNode` **<** :ref:`Resource` **<** :ref:`Reference` **<** :ref:`Object` **Category:** Core Brief Description ----------------- Chooses between two input values. Member Functions ---------------- +------------------------+---------------------------------------------------------------------------------------------+ | :ref:`int` | :ref:`get_typed` **(** **)** const | +------------------------+---------------------------------------------------------------------------------------------+ | void | :ref:`set_typed` **(** :ref:`int` type **)** | +------------------------+---------------------------------------------------------------------------------------------+ Member Variables ---------------- .. _class_VisualScriptSelect_type: - :ref:`int` **type** - The input variables' type. 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`` Member Function Description --------------------------- .. _class_VisualScriptSelect_get_typed: - :ref:`int` **get_typed** **(** **)** const .. _class_VisualScriptSelect_set_typed: - void **set_typed** **(** :ref:`int` type **)**