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