From ee9c8cb2967d6bbe68550cdaa2615f6f053c94cf 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 --- 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 f018d9581d8..0ace4357fa3 100644 --- a/doc/classes/Node.xml +++ b/doc/classes/Node.xml @@ -444,7 +444,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].