x,y position of the mousechunk ?

jbv at mozik.fr jbv at mozik.fr
Wed May 6 13:45:53 EDT 2026


Thank you Mark, this is very helpful.

jbv

>> _______________________________________________
>> 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
> 
> I might be misunderstanding what you are trying to do but you can get 
> the formattedRect of chunks in the field:
> 
> on mouseMove
>   if the mouseChunk is not empty then
>     put the formattedRect of the mouseChunk into field "Rect"
>   end if
> end mouseMove
> 
> So you could take the middle point of the rect as the x,y location?
> 
> Warmest Regards,
> 
> Mark.


More information about the use-livecode mailing list