Skip to content

Commit

Permalink
Merge pull request godotengine#95927 from vinni-richburgh/master
Browse files Browse the repository at this point in the history
Document that `Node.duplicate` also duplicates its children.
  • Loading branch information
akien-mga committed Aug 26, 2024
2 parents 3477921 + 3e86f7b commit db76de5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/classes/Node.xml
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@
<return type="Node" />
<param index="0" name="flags" type="int" default="15" />
<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].
</description>
</method>
Expand Down

0 comments on commit db76de5

Please sign in to comment.