If you're willing to do something "hackish", you could do this: on mouseDown lock screen show grc "mygraphic" put within(grc "mygraphic",the clickloc) hide grc "mygraphic" unlock screen end mouseDown
:D Ken > On Feb 22, 2021, at 1:49 PM, jbv via use-livecode > <use-livecode@lists.runrev.com> wrote: > > Hi list, > > I have a graphic made of a list of points. This graphic is opaque > and invisible, its filled property is set to true (according to > the doc). > In my card script I have something like : > on mousedown > put within(grc "mygraphic", the clickloc) > end mousedown > > but it always returns false, even when I click > inside the clickable area of the graphic... > What am I missing ? > > Thanks in advance. > jbv > > _______________________________________________ > 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