diff options
author | Rémi Verschelde <remi@verschelde.fr> | 2022-09-10 09:59:15 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-10 09:59:15 +0200 |
commit | 8899f1eec213620c421ba16c07cf1b3681c5a25d (patch) | |
tree | 8accccd8fb7571f51f6a011e2594aeadfa94589c /doc | |
parent | 27e132347324318567419ac5039d51338d7d4f0e (diff) | |
parent | 31e62ca827e179e3803772afb279ed995ab3019e (diff) | |
download | redot-engine-8899f1eec213620c421ba16c07cf1b3681c5a25d.tar.gz |
Merge pull request #65595 from KoBeWi/minus_children
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 24faf3c167..d8ad65082f 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> |