obj.in.box

Category

Test Commands / Object/View Commands

Syntax

if (obj.in.box(oA,X1,Y1,X2,Y2)) { .....

Description

Returns true if all of the bottom row of pixels of object oA are within the region (X1,Y1,X2,Y2).

See also

posn
right.posn
center.posn