VisualScriptVariableGet

Inherits: VisualScriptNode < Resource < Reference < Object

Gets a variable's value.

Description

Returns a variable's value. "Var Name" must be supplied, with an optional type.

Input Ports:

none

Output Ports:

  • Data (variant): value

Properties

String var_name ""

Property Descriptions

String var_name

Default ""
Setter set_variable(value)
Getter get_variable()

The variable's name.

© 2014–2020 Juan Linietsky, Ariel Manzur, Godot Engine contributors
Licensed under the MIT License.
https://docs.godotengine.org/en/3.2/classes/class_visualscriptvariableget.html