Click or drag to resize

NodeGetPathTo Method

Returns the relative NodePath from this node to the specified node. Both nodes must be in the same scene or the function will fail.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public NodePath GetPathTo(
	Node node
)

Parameters

node
Type: GodotNode

[Missing <param name="node"/> documentation for "M:Godot.Node.GetPathTo(Godot.Node)"]

Return Value

Type: NodePath

[Missing <returns> documentation for "M:Godot.Node.GetPathTo(Godot.Node)"]

See Also