diff --git a/doc/classes/Node.xml b/doc/classes/Node.xml index 6b3aa30dd2f..8a12314ba8a 100644 --- a/doc/classes/Node.xml +++ b/doc/classes/Node.xml @@ -571,6 +571,7 @@ Replaces a node in a scene by the given one. Subscriptions that pass through this node will be lost. If [code]keep_groups[/code] is [code]true[/code], the [code]node[/code] is added to the same groups that the replaced node is in. + Note that the replaced node is not automatically freed, so you either need to keep it in a variable for later use or free it using [method Object.free].