>Is there an easy way to know if a point is in the filled area of a polygon ?
>
>In an educative game, i paved the screen with irregular polygons (like the
>pieces of a puzzle). Of course, the rect of the polygon overlap, but not their
>visible area.
>I grab a button.
>In the mouseUp script of the button i need to know which polygon is under the
>center of the grabed button.
>How could i perform this task ?
>
>Claude Lemmel

Try "within" function.

Regards, Andu

Reply via email to