class_visualscriptvariableget.rst 894 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. .. Generated automatically by doc/tools/makerst.py in Godot's source tree.
  2. .. DO NOT EDIT THIS FILE, but the VisualScriptVariableGet.xml source instead.
  3. .. The source is found in doc/classes or modules/<name>/doc_classes.
  4. .. _class_VisualScriptVariableGet:
  5. VisualScriptVariableGet
  6. =======================
  7. **Inherits:** :ref:`VisualScriptNode<class_visualscriptnode>` **<** :ref:`Resource<class_resource>` **<** :ref:`Reference<class_reference>` **<** :ref:`Object<class_object>`
  8. **Category:** Core
  9. Brief Description
  10. -----------------
  11. Gets a variable's value.
  12. Member Variables
  13. ----------------
  14. .. _class_VisualScriptVariableGet_var_name:
  15. - :ref:`String<class_string>` **var_name** - The variable's name.
  16. Description
  17. -----------
  18. Returns a variable's value. "Var Name" must be supplied, with an optional type.
  19. **Input Ports:**
  20. none
  21. **Output Ports:**
  22. - Data (variant): ``value``