Merge pull request #82863 from HexagonNico/docs_get_tree

Specify the behaviour of `get_tree()` when the node is not in the scene tree
This commit is contained in:
Rémi Verschelde 2023-11-10 21:54:56 +01:00
commit 76d9521801
No known key found for this signature in database
GPG key ID: C3336907360768E1

View file

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