Added in 1.9.0
$inrect(x,y,x,y,w,h)
Returns $true if the point x y is inside the specified rectangle, otherwise $false.
Parameters
| Parameter | Description |
| x | The first X coordinate. |
| y | The first y coordinate. |
| x | The second X coordinate. |
| y | The second y coordinate. |
| w | The width. |
| h | The height. |