Click or drag to resize

ObjectSetIndexed Method

Assigns a new value to the property identified by the NodePath. The node path should be relative to the current object and can use the colon character (:) to access nested properties. Example:

set_indexed("position", Vector2(42, 0))
set_indexed("position:y", -10)
print(position) # (42, -10)

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public void SetIndexed(
	NodePath property,
	Object value
)

Parameters

property
Type: GodotNodePath

[Missing <param name="property"/> documentation for "M:Godot.Object.SetIndexed(Godot.NodePath,System.Object)"]

value
Type: SystemObject

[Missing <param name="value"/> documentation for "M:Godot.Object.SetIndexed(Godot.NodePath,System.Object)"]

See Also