diff options
author | kobewi <kobewi4e@gmail.com> | 2022-09-10 03:54:04 +0200 |
---|---|---|
committer | kobewi <kobewi4e@gmail.com> | 2022-09-10 03:54:04 +0200 |
commit | 31e62ca827e179e3803772afb279ed995ab3019e (patch) | |
tree | 86fc0fea72f31eaee1ffac4e2af342035fa379e1 /doc | |
parent | ce6f284e5ff16794658db4ccd265b9c71f6b62b2 (diff) | |
download | redot-engine-31e62ca827e179e3803772afb279ed995ab3019e.tar.gz |
Allow negative indices in move_child()
Diffstat (limited to 'doc')
-rw-r--r-- | doc/classes/Node.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/classes/Node.xml b/doc/classes/Node.xml index 92beefa5fc..fe29825a70 100644 --- a/doc/classes/Node.xml +++ b/doc/classes/Node.xml @@ -514,7 +514,7 @@ <param index="0" name="child_node" type="Node" /> <param index="1" name="to_position" type="int" /> <description> - Moves a child node to a different position (order) among the other children. Since calls, signals, etc are performed by tree order, changing the order of children nodes may be useful. + Moves a child node to a different position (order) among the other children. Since calls, signals, etc are performed by tree order, changing the order of children nodes may be useful. If [param to_position] is negative, the index will be counted from the end. [b]Note:[/b] Internal children can only be moved within their expected "internal range" (see [code]internal[/code] parameter in [method add_child]). </description> </method> |