W3cubDocs

/Godot 3.1

VisualScriptVariableGet

Inherits: VisualScriptNode < Resource < Reference < Object

Category: Core

Brief Description

Gets a variable’s value.

Properties

String var_name

Description

Returns a variable’s value. “Var Name” must be supplied, with an optional type.

Input Ports:

none

Output Ports:

  • Data (variant): value

Property Descriptions

String var_name

Setter set_variable(value)
Getter get_variable()

The variable’s name.

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