summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2023-11-10 21:54:56 +0100
committerRémi Verschelde <rverschelde@gmail.com>2023-11-10 21:54:56 +0100
commit76d9521801b2b6ab49386d99efc19325aa2aa543 (patch)
tree8f387a3523901b0c1e99a0869f561771f332668c
parent7f8edaa23833279c07d606eb8232d26b54b61ac6 (diff)
parentee9c8cb2967d6bbe68550cdaa2615f6f053c94cf (diff)
downloadredot-engine-76d9521801b2b6ab49386d99efc19325aa2aa543.tar.gz
Merge pull request #82863 from HexagonNico/docs_get_tree
Specify the behaviour of `get_tree()` when the node is not in the scene tree
-rw-r--r--doc/classes/Node.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/classes/Node.xml b/doc/classes/Node.xml
index f018d9581d..0ace4357fa 100644
--- a/doc/classes/Node.xml
+++ b/doc/classes/Node.xml
@@ -444,7 +444,7 @@
<method name="get_tree" qualifiers="const">
<return type="SceneTree" />
<description>
- Returns the [SceneTree] that contains this node.
+ Returns the [SceneTree] that contains this node. Returns [code]null[/code] and prints an error if this node is not inside the scene tree. See also [method is_inside_tree].
</description>
</method>
<method name="get_tree_string">