is touch rect

Anything beyond the basics in using the LiveCode language. Share your handlers, functions and magic here.

Moderators: Klaus, FourthWorld, heatherlaine, kevinmiller, robinmiller

Post Reply
Nakia
Posts: 425
Joined: Tue Feb 21, 2012 8:57 am

is touch rect

Post by Nakia »

Hi,

I need to be able to identify if a control (Control 1) on my Card is touching (within) the rect of another control (Control 2)..

To give more context, Control 2 is a NavBar and Control 1 is button that moves around.When ever Control 1 touches the NavBar I need to be able to
hide it...

I am all good with the hiding etc but its just understanding how to identify if the Rects are touching....
Nakia
Posts: 425
Joined: Tue Feb 21, 2012 8:57 am

Re: is touch rect

Post by Nakia »

Found intersect function :D :D :D
Post Reply