Lingo Dictionary > G-K > inside() |  |

inside()

Syntax

    point.inside(rectangle)
    inside(point, rectangle)

Description

Function; indicates whether the point specified by `point` is within the rectangle specified by `rectangle` (`TRUE`), or outside the rectangle (`FALSE`).

Example

This statement indicates whether the point Center is within the rectangle Zone and displays the result in the Message window:

    put Center.inside(Zone)

See also

`map()`, `mouseH`, `mouseV`, `point()`