setPosition

fun setPosition(node: Node?, offset: Int = definedExternally)(source)

MDN Reference