I’ve had this problem before and solved it with a work-around/hack using the intersect of 2 graphics with small alpha values.
Roger > On Feb 22, 2021, at 2:02 PM, jbv via use-livecode > <use-livecode@lists.runrev.com> wrote: > > Le 2021-02-22 15:26, Tore Nilsen via use-livecode a écrit : >> Since the properties of the arc is available even if it is invisible, >> this will work though: >> on mouseDown >> put isWithin("myGraphic",the clickLoc) >> end mouseDown >> function isWithin pGraphic pClickLoc >> if pClickLoc is within the rect of grc pGraphic then >> return true >> else >> return false >> end if >> end isWithin > > Thank you, but this won't work for I need to test the > exact shape of the graphics, not its bounding box... > > _______________________________________________ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode