"within graphic" question
Randy Hengst
iowahengst at mac.com
Mon Feb 22 15:25:03 EST 2021
Would it work in your case if you left the graphic visible and set the blendLevel to 99?
be well,
randy
> On Feb 22, 2021, at 2:14 PM, Richard Gaskin via use-livecode <use-livecode at lists.runrev.com> wrote:
>
> jbv wrote:
>> 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 ?
>
> IIRC invisible objects are removed from not only the rendering queue, but hit-testing as well.
>
> --
> Richard Gaskin
> Fourth World Systems
> Software Design and Development for the Desktop, Mobile, and the Web
> ____________________________________________________________________
> Ambassador at FourthWorld.com http://www.FourthWorld.com
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
More information about the use-livecode
mailing list