From b3ebc80feb8dc56e1fda22ecd8e378ba675b718d Mon Sep 17 00:00:00 2001 From: Ninni Pipping Date: Sun, 25 Jun 2023 10:30:47 +0200 Subject: [PATCH] [3.x] 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 2dd1d24304a..3bb3f12e154 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".