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].