W3cubDocs

/Godot 3.1

VisualScriptLocalVar

Inherits: VisualScriptNode < Resource < Reference < Object

Category: Core

Brief Description

Gets a local variable’s value.

Properties

Variant.Type type
String var_name

Description

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

Input Ports:

none

Output Ports:

  • Data (variant): get

Property Descriptions

Variant.Type type

Setter set_var_type(value)
Getter get_var_type()

The local variable’s type.

String var_name

Setter set_var_name(value)
Getter get_var_name()

The local 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_visualscriptlocalvar.html