summaryrefslogtreecommitdiff
path: root/doc/classes/Node.xml
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2022-10-15 12:56:48 +0200
committerRémi Verschelde <rverschelde@gmail.com>2022-10-15 12:56:48 +0200
commit2942951a29ba22fe44ea7474ae25ca0f2c2d7c13 (patch)
tree50898d29287e75e2583811e98be098a144ad19e7 /doc/classes/Node.xml
parent6feded171b377a3e3cf34ed6fb435a4a8e5e01e1 (diff)
parenta97a00bf02b90841097ae85dd344f7a949bf3457 (diff)
Merge pull request #67403 from bitbrain/rename-to-position
Rename `pos` to `index` on Node
Diffstat (limited to 'doc/classes/Node.xml')
-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>