From 3147d846471df67667cd331478943f5f0fda33b1 Mon Sep 17 00:00:00 2001 From: Ninni Pipping Date: Sun, 25 Jun 2023 10:25:22 +0200 Subject: [PATCH] Add example for `NodePath` to grandparent --- doc/classes/NodePath.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/classes/NodePath.xml b/doc/classes/NodePath.xml index 1bc44d5680e..516498473ec 100644 --- a/doc/classes/NodePath.xml +++ b/doc/classes/NodePath.xml @@ -15,6 +15,7 @@ ^"." # The current node. ^".." # The parent node. ^"../C" # A sibling node C. + ^"../.." # The grandparent node. # A leading slash means it is absolute from the SceneTree. ^"/root" # Equivalent to get_tree().get_root(). ^"/root/Main" # If your main scene's root node were named "Main".