max -- [page:Vector2] containing the max x and y values in the desired range
</div>
<div>
If this vector's x or y value is greater than the max vector's x or y value, it is replaced by that value. <br/> If this vector's x or y value is less than the min vector's x or y value, it is replace by that value.
If this vector's x or y value is greater than the max vector's x or y value, it is replaced by the corresponding value. <br/> If this vector's x or y value is less than the min vector's x or y value, it is replace by the corresponding value.
If this vector's x, y or z value is greater than the max vector's x, y or z value, it is replaced by the corresponding value. <br/> If this vector's x, y or z value is less than the min vector's x, y or z value, it is replace by the corresponding value.