SetRectFromLoc

Parameters
whichRect rect
min location
max location
bug

You can't create your own rectangle that would match the dimensions of GetWorldBounds. The maxX and maxY will be smaller by 32.0 than that of the world bounds.

comment

Changes a rectangle's minimum and maximum points (that define it) to those specified by min and max locations.

Does nothing if either location is null or invalid.

note

See: Rect, SetRect, MoveRectTo, MoveRectToLoc.

return type
nothing
Source code
native SetRectFromLoc           takes rect whichRect, location min, location max returns nothing
Source
common.j
wc3modding.com
SetRectFromLoc