Add example for NodePath to grandparent

This commit is contained in:
Ninni Pipping 2023-06-25 10:25:22 +02:00
parent 3710f06929
commit 3147d84647

View File

@ -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".