RectContainsCoords

Parameters
r rect
x real
y real
return type
boolean
Source code
function RectContainsCoords takes rect r, real x, real y returns boolean
    return (GetRectMinX(r) <= x) and (x <= GetRectMaxX(r)) and (GetRectMinY(r) <= y) and (y <= GetRectMaxY(r))
endfunction
Source
Blizzard.j
wc3modding.com
RectContainsCoords