From 2ff7b6c830c922f62c763caf5bfab51d60987169 Mon Sep 17 00:00:00 2001 From: Nico Date: Fri, 10 Nov 2023 20:24:18 +0100 Subject: [PATCH] Specify the behaviour of get_tree when the node is not in the scene tree (cherry picked from commit ee9c8cb2967d6bbe68550cdaa2615f6f053c94cf) --- doc/classes/Node.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/classes/Node.xml b/doc/classes/Node.xml index aaf889a09ad..b8b6a75a59a 100644 --- a/doc/classes/Node.xml +++ b/doc/classes/Node.xml @@ -445,7 +445,7 @@ - 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].