setPosition

open fun setPosition(posX: Float, posY: Float)

Sets the sprite position.