Skip to content

Commit

Permalink
Specify the behaviour of get_tree when the node is not in the scene tree
Browse files Browse the repository at this point in the history
  • Loading branch information
HexagonNico authored and YuriSizov committed Nov 10, 2023
1 parent bdd9034 commit ee9c8cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/classes/Node.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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">
Expand Down

0 comments on commit ee9c8cb

Please sign in to comment.