.. Generated automatically by doc/tools/makerst.py in Godot's source tree. .. DO NOT EDIT THIS FILE, but the VisualScriptVariableGet.xml source instead. .. The source is found in doc/classes or modules//doc_classes. .. _class_VisualScriptVariableGet: VisualScriptVariableGet ======================= **Inherits:** :ref:`VisualScriptNode` **<** :ref:`Resource` **<** :ref:`Reference` **<** :ref:`Object` **Category:** Core Brief Description ----------------- Gets a variable's value. Member Functions ---------------- +------------------------------+--------------------------------------------------------------------------------------------------------------+ | :ref:`String` | :ref:`get_variable` **(** **)** const | +------------------------------+--------------------------------------------------------------------------------------------------------------+ | void | :ref:`set_variable` **(** :ref:`String` name **)** | +------------------------------+--------------------------------------------------------------------------------------------------------------+ Member Variables ---------------- .. _class_VisualScriptVariableGet_var_name: - :ref:`String` **var_name** - The variable's name. Description ----------- Returns a variable's value. "Var Name" must be supplied, with an optional type. **Input Ports:** none **Output Ports:** - Data (variant): ``value`` Member Function Description --------------------------- .. _class_VisualScriptVariableGet_get_variable: - :ref:`String` **get_variable** **(** **)** const .. _class_VisualScriptVariableGet_set_variable: - void **set_variable** **(** :ref:`String` name **)**