summaryrefslogtreecommitdiffstats
path: root/doc/classes
diff options
context:
space:
mode:
authorMiguel Gonzalez Sanchez <822035+bitbrain@users.noreply.github.com>2022-10-14 19:21:41 +0100
committerMiguel Gonzalez Sanchez <822035+bitbrain@users.noreply.github.com>2022-10-14 19:56:34 +0100
commita97a00bf02b90841097ae85dd344f7a949bf3457 (patch)
tree26f30f48319165b7ee1fac3c3120ff3defb112a6 /doc/classes
parent39534a7aecc4ca4215af67244b23dda09ea339f8 (diff)
downloadredot-engine-a97a00bf02b90841097ae85dd344f7a949bf3457.tar.gz
Rename pos -> index on Node
Diffstat (limited to 'doc/classes')
-rw-r--r--doc/classes/Node.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/classes/Node.xml b/doc/classes/Node.xml
index bceb285584..620895d8d8 100644
--- a/doc/classes/Node.xml
+++ b/doc/classes/Node.xml
@@ -529,9 +529,9 @@
<method name="move_child">
<return type="void" />
<param index="0" name="child_node" type="Node" />
- <param index="1" name="to_position" type="int" />
+ <param index="1" name="to_index" 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. If [param to_position] is negative, the index will be counted from the end.
+ Moves a child node to a different index (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_index] 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>