Browse Source

Merge pull request #95927 from vinni-richburgh/master

Document that `Node.duplicate` also duplicates its children.
Rémi Verschelde 11 months ago
parent
commit
db76de5de8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      doc/classes/Node.xml

+ 1 - 1
doc/classes/Node.xml

@@ -255,7 +255,7 @@
 			<return type="Node" />
 			<return type="Node" />
 			<param index="0" name="flags" type="int" default="15" />
 			<param index="0" name="flags" type="int" default="15" />
 			<description>
 			<description>
-				Duplicates the node, returning a new node with all of its properties, signals and groups copied from the original. The behavior can be tweaked through the [param flags] (see [enum DuplicateFlags]).
+				Duplicates the node, returning a new node with all of its properties, signals, groups, and children copied from the original. The behavior can be tweaked through the [param flags] (see [enum DuplicateFlags]).
 				[b]Note:[/b] For nodes with a [Script] attached, if [method Object._init] has been defined with required parameters, the duplicated node will not have a [Script].
 				[b]Note:[/b] For nodes with a [Script] attached, if [method Object._init] has been defined with required parameters, the duplicated node will not have a [Script].
 			</description>
 			</description>
 		</method>
 		</method>