closestPointTo

open fun closestPointTo(point: Vector2F): Vector2F

Returns the closest point on this square to the given point.