Josep. If you have a particular target object, why not simply test whether it intersects with all other objects? In the target object script:
on mouseup repeat with y = 1 to the number of controls put "control id" && the id of ("control" && y) into temp put temp && ":" && intersect(me,temp) into line y of accum end repeat answer accum end mouseup Good luck. Craig Newman _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode