"within graphic" question
Richard Gaskin
ambassador at fourthworld.com
Mon Feb 22 15:14:11 EST 2021
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
More information about the use-livecode
mailing list