Function GodotObject.getIndexed

Gets the object's property indexed by the given NodePath. The node path should be relative to the current object and can use the colon character (:) to access nested properties. Examples: "position:x" or "material:next_pass:blend_mode".

Variant getIndexed(NodePathArg0) (
  in NodePathArg0 property
) const;