GetRandomLocInRect
- Parameters
whichRect rect- comment
- patch
1.00
- Source
- Blizzard.j (suggest an edit or discuss on Github)
- return type
location- Source code
function GetRandomLocInRect takes rect whichRect returns location return Location(GetRandomReal(GetRectMinX(whichRect), GetRectMaxX(whichRect)), GetRandomReal(GetRectMinY(whichRect), GetRectMaxY(whichRect))) endfunction