Refreshing Cache...

Inherits: Resource < Reference < Object

Inherited By: VisualScriptBasicTypeConstant, VisualScriptBuiltinFunc, VisualScriptClassConstant, VisualScriptComment, VisualScriptCondition, VisualScriptConstant, VisualScriptConstructor, VisualScriptCustomNode, VisualScriptDeconstruct, VisualScriptEmitSignal, VisualScriptEngineSingleton, VisualScriptExpression, VisualScriptFunction, VisualScriptFunctionCall, VisualScriptGlobalConstant, VisualScriptIndexGet, VisualScriptIndexSet, VisualScriptInputAction, VisualScriptIterator, VisualScriptLists, VisualScriptLocalVar, VisualScriptLocalVarSet, VisualScriptMathConstant, VisualScriptOperator, VisualScriptPreload, VisualScriptPropertyGet, VisualScriptPropertySet, VisualScriptResourcePath, VisualScriptReturn, VisualScriptSceneNode, VisualScriptSceneTree, VisualScriptSelect, VisualScriptSelf, VisualScriptSequence, VisualScriptSubCall, VisualScriptSwitch, VisualScriptTypeCast, VisualScriptVariableGet, VisualScriptVariableSet, VisualScriptWhile, VisualScriptYield, VisualScriptYieldSignal

A node which is part of a VisualScript.


A node which is part of a VisualScript. Not to be confused with Node, which is a part of a SceneTree.


  • ports_changed ( )

Emitted when the available input/output ports are changed.

Method Descriptions

  • Variant get_default_input_value ( int port_idx ) const

Returns the default value of a given port. The default value is used when nothing is connected to the port.

Returns the VisualScript instance the node is bound to.

  • void ports_changed_notify ( )

Notify that the node’s ports have changed. Usually used in conjunction with VisualScriptCustomNode .

  • void set_default_input_value ( int port_idx, Variant value )

Change the default value of a given port.

Disclaimer: This page has been automaticaly and directly extracted from the official Godot Docs website, the 2020-03-07 at 01:42:25. It's the English Stable version because it's what most Godot users should use. The Copyright owners are Juan Linietsky, Ariel Manzur and the Godot community. CC-BY 3.0. Thanks for your patience and generosity.