moveTo

fun moveTo(target: ScreenObject, position: PointF): Boolean

Moves the object's top-left corner, preserving its current size and clamping its position.