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.Type

type

0

String

var_name

"new_local"


Property Descriptions

Variant.Type type = 0

The local variable's type.


String var_name = "new_local"

  • void set_var_name ( String value )

  • String get_var_name ( )

The local variable's name.