is within rectangle

Chipp Walters chipp at chipp.com
Tue Jul 5 22:15:44 EDT 2005


Nicholas,

try:

if (item 1 of the loc of [A], the top of [A]) is within the rectangle of [B]

Nicolas Cueto wrote:
> Hello All,
> 
> Further to my "invaders" game-making (which,
> thanks to the List, is almost done), I now'd like
> to check when the leading edge of one object --
> its bottom, in this case -- makes contact with
> the leading edge of another -- i.e., its top.



More information about the use-livecode mailing list