Method WorldObject:IsInRange2d [-] [+]
Returns true if the point is within given range
Notice that the distance is measured from the edge of the WorldObject.
Synopsis
isInDistance = WorldObject:IsInRange2d( x, y, minrange, maxrange )
Arguments
number xValid numbers: all decimal numbers.
number yValid numbers: all decimal numbers.
number minrangeValid numbers: all decimal numbers.
number maxrangeValid numbers: all decimal numbers.
Returns
boolean isInDistance- See method description.