Operators

is within

Supported By

Syntax

left-expression is within right-expression

Left-expression yields a point or a rectangle. Right-expression yields a rectangle.

Description

The is within operator evaluates to true if the rectangle specified on the right of the operator contains the point specified on the left, or intersects the rectangle specified on the left. Otherwise, it evaluates to false.

Compatibility

HyperTalk only supports testing for a point inside a rectangle. It does not support testing for the intersection of two rectangles.

See Also

is not within