godot.core.nodepath

Pre-parsed scene tree path.

Members

Structs

NodePath
struct NodePath

A pre-parsed relative or absolute path in a scene tree, for use with Node.getNode and similar functions. It can reference a node, a resource within a node, or a property of a node or resource. For instance, "Path2D/PathFollow2D/Sprite:texture:size" would refer to the size property of the texture resource on the node named “Sprite” which is a child of the other named nodes in the path. Note that if you want to get a resource, you must end the path with a colon, otherwise the last element will be used as a property name.

Meta