Skip to content

Commit db76de5

Browse files
committed
Merge pull request godotengine#95927 from vinni-richburgh/master
Document that `Node.duplicate` also duplicates its children.
2 parents 3477921 + 3e86f7b commit db76de5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/classes/Node.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@
255255
<return type="Node" />
256256
<param index="0" name="flags" type="int" default="15" />
257257
<description>
258-
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]).
258+
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]).
259259
[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].
260260
</description>
261261
</method>

0 commit comments

Comments
 (0)