MoveRectTo

Parameters
whichRect rect
newCenterX real
newCenterY real
bug

This can be used to move the rectangle outside of the map bounds, bypassing the limiting checks.

comment

Changes the minimum and maximum point of a rectangle to make it centered around the specified point. Thus it moves the rectangle to a new position.

note

See: Rect, SetRect, SetRectFromLoc, MoveRectToLoc.

return type
nothing
Source code
native MoveRectTo               takes rect whichRect, real newCenterX, real newCenterY returns nothing
Source
common.j
wc3modding.com
MoveRectTo