diff options
| author | Rémi Verschelde <rverschelde@gmail.com> | 2023-11-10 21:54:56 +0100 |
|---|---|---|
| committer | Rémi Verschelde <rverschelde@gmail.com> | 2023-11-10 21:54:56 +0100 |
| commit | 76d9521801b2b6ab49386d99efc19325aa2aa543 (patch) | |
| tree | 8f387a3523901b0c1e99a0869f561771f332668c | |
| parent | 7f8edaa23833279c07d606eb8232d26b54b61ac6 (diff) | |
| parent | ee9c8cb2967d6bbe68550cdaa2615f6f053c94cf (diff) | |
| download | redot-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.xml | 2 |
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"> |
