W3cubDocs

/Godot 3.0

VisualScriptLocalVarSet

Inherits: VisualScriptNode < Resource < Reference < Object

Category: Core

Brief Description

Changes a local variable’s value.

Member Variables

  • Type type - The local variable’s type.
  • String var_name - The local variable’s name.

Description

Changes a local variable’s value to the given input. The new value is also provided on an output Data port.

Input Ports:

  • Sequence
  • Data (variant): set

Output Ports:

  • Sequence
  • Data (variant): get

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