Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!mailrus!ncar!boulder!tigger!rieman From: rieman@tigger.colorado.edu (John Rieman) Newsgroups: comp.sys.mac.hypercard Subject: get object at loc x,y Message-ID: <9568@boulder.Colorado.EDU> Date: 20 Jun 89 20:12:06 GMT Sender: news@boulder.Colorado.EDU Reply-To: rieman@tigger.colorado.edu (John Rieman) Organization: University of Colorado, Boulder Lines: 21 Is there any way in hypertalk to get the types and id's of objects covering a specific location? For example, I'd like to write put objects at 200,300 into msg and have card field id 30, card button id 42 appear. I can loop through all the objects in the card, get their rect's, and check to see if the point of interest is within each rect. Is their a more efficient way that I've missed? -john John Rieman U. of Colorado Boulder, Colorado rieman@boulder.colorado.edu