>Correct.  You can use within(), the target(), and the mouseControl()
>with these.  If you don't want to see the fill, set the ink of the
>graphic to "noop" using the color chooser.
>  Regards,
>    Scott

>Use "within" to check if a point is within the visible area of an object. For
>example,
>
>on mouseUp
>  if within(graphic "My Polygon", the clickLoc) then put "inside" else put
>"outside"
>end mouseUp
>
>will tell you whether you clicked inside or outside the visible area.

Hah!  Thank you everyone!  I'm still stuck back in HyperCard... still 
thought that "within" was only for a rect... nice coding, MetaCard team!  
:)

>Well, if you're in a square or rectangle, the question is moot.
>
>What is it you'd like to determine, specifically?

Well, actually, just to let you all know, it's for a casino game I'm 
working on.  I asked this just in wondering about the roulette table, but 
it will also be used for many other places.  Thanks much everyone!

--------------------------------
Karl Becker, [EMAIL PROTECTED]
http://www.btigate.com/~funkboy/
Featuring: Tiger's Eye Casino, 
MacBasketball, and The Fishin' Hole!

Reply via email to