>Too, if you want some more info about whats under that there mouse...
>
>tClickedModel = sprite(x).camera.modelsUnderLoc(the clickLoc - 
>point(sprite(x).left, sprite(x).top), #detailed)

It's part of my job to keep Kraig honest. Speaking of which...

The above variation returns a list. You would need to look at either 
all the entries in the list to see if the model you're interested in 
is there, or just look at the first model if you're testing to make 
sure that it's at the front. The consequence is that you check the 
cell of the list:

if tClickedModel[1].name = "maggie" then....



-- 

[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]

Reply via email to