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.


Karl Becker wrote:

> Okay, here's my big question:  how is it the easiest (and quickest, for
> that matter) way to find out if a point is not just within the rectangle
> of a polygon, but also within the individual points?  I'd just be working
> with closed polys, and would just need to find out if one point is within
> the poly (2D, a graphic) .  Thanks much in advance!  Hope this hasn't
> been covered before here, since I'm relatively new to the list...
>
> --------------------------------
> Karl Becker, [EMAIL PROTECTED]
> http://www.btigate.com/~funkboy/
> Featuring: Tiger's Eye Casino,
> MacBasketball, and The Fishin' Hole!

--
Marni Centor ([EMAIL PROTECTED])
Summit Systems, Inc.
22 Cortlandt Street
New York, NY 10007
(212) 896-3466

The views and opinions expressed in this email message are the sender�s own,
and do not necessarily represent the views and opinions of Summit Systems
Inc.

Reply via email to