Skip to content

Commit

Permalink
Merge pull request #78660 from AThousandShips/doc_node_path
Browse files Browse the repository at this point in the history
Add example for `NodePath` to grandparent
  • Loading branch information
akien-mga committed Jun 26, 2023
2 parents e0de078 + 3147d84 commit a93c671
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions doc/classes/NodePath.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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".
Expand Down

0 comments on commit a93c671

Please sign in to comment.