RectFromLoc

Parameters
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 16.0 than that of the world bounds.

comment

Returns new rectangle as defined by two locations: min (bottom-left) and max (top-right).

The rectangle size and coordinates are limited to valid map coordinates, see GetWorldBounds.

note

See: Rect, RemoveRect, GetWorldBounds.

return type
rect
Source code
native RectFromLoc              takes location min, location max returns rect
Source
region-location.j
wc3modding.com
RectFromLoc