moveChild

fun moveChild(child: Node, index: Int): Node

Moves a child node to the specified index.

Parameters

child

the child node to move

index

the index to move the child to