VisualScriptLocalVar

Inherits: VisualScriptNode < Resource < Reference < Object

Gets a local variable’s value.

Description

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

Input Ports:

none

Output Ports:

  • Data (variant): get

Properties

Variant.Typetype0
Stringvar_name“new_local”

Property Descriptions

Default0
Setterset_var_type(value)
Getterget_var_type()

The local variable’s type.


Default“new_local”
Setterset_var_name(value)
Getterget_var_name()

The local variable’s name.