summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2024-08-26 23:29:14 +0200
committerRémi Verschelde <rverschelde@gmail.com>2024-08-26 23:29:14 +0200
commitdb76de5de8a415b29be4c7dd84b99bd0fe260822 (patch)
treedda3d9567c42a0b097af7d9a72bf38600445c9b8
parent34779211e0ad50dadce4950d8fbc4545ec89a32c (diff)
parent3e86f7b50e55b56597a7aa45e8ffc41e11c7bf1d (diff)
downloadredot-engine-db76de5de8a415b29be4c7dd84b99bd0fe260822.tar.gz
Merge pull request #95927 from vinni-richburgh/master
Document that `Node.duplicate` also duplicates its children.
-rw-r--r--doc/classes/Node.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/classes/Node.xml b/doc/classes/Node.xml
index c54219c056..ae1eff4220 100644
--- a/doc/classes/Node.xml
+++ b/doc/classes/Node.xml
@@ -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>