Tests if a point is inside a rectangle

Syntax

bool = Point In Rect(x,y,x1,y1 to x2,y2)

Description

This function tests if the point (x,y) is inside the rect specified by x1,y1 to x2,y2. bool contains true is the point is inside the rect and false otherwise.

This function tests if the point (x,y) is inside the rect specified by x1,y1 to x2,y2.

bool contains true is the point is inside the rect and false otherwise.