Which objects are at a given screen location

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: Klaus, FourthWorld, heatherlaine, kevinmiller

KimD
Posts: 191
Joined: Wed Jul 08, 2015 5:51 am
Location: Wellington, New Zealand

Re: Which objects are at a given screen location

Post by KimD » Fri Dec 02, 2016 4:50 am

Wow. I'm totally overwhelmed by the generosity of your responses; and on a Sunday!

The truth is that I had implemented a very basic solution to my problem after I replied to Klaus's post. Now I have three other options to think about:
1) "Within" function inside of a Repeat loop that checks all controls on a card
2) "Within" function inside of a recursive function call that checks each control on a card
3) "Intersect" function inside of a SetProp handler that checks any controls that move.

I will have a play with all of them after I've finished what I'm currently working on.

Thanks greatly

Kim

Post Reply

Return to “Getting Started with LiveCode - Complete Beginners”