Yes, as Colin's code shows you'd best check for void being returned. Got a little 
ahead of myself there. 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)

...uhm..er...and no, you cant leave out the camera...my oh my...to much San Francisco 
air...

%^}
Kraig

> Good of you to drop in Kraig, and your handler is more condensed than 
> mine. One thing to point out is that yours will error if the user 
> clicks in blank space. That's what the voidp() check was about.
> 
> Is it true, by the way, that the camera() part is assumed if 
> you leave it out?
> 
> -- 
> 
> [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!]
> 

[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