GodotObject.setIndexed

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:

More...
struct GodotObject
@nogc nothrow
void
setIndexed
(
NodePathArg0
VariantArg1
)
(
in NodePathArg0 property
,
in VariantArg1 value
)

Detailed Description

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

Meta