addChildAt

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

Sets the parent of the child to this Node sets it at the specified index.

Parameters

child

the child to add

index

the index of the child to be added at