Geyser Label Click Event

Post Reply
Eirik
Posts: 2
Joined: Wed Sep 13, 2017 12:56 am

Geyser Label Click Event

Post by Eirik »

Is it possible to retrieve the x and y position of where the mouse cursor was at the time of a Geyser Label click event?

For example the Geyser Label is 400 wide(x) by 400 high(y) and the click happened at 231x 56y or something along those lines.

User avatar
Vadi
Posts: 5035
Joined: Sat Mar 14, 2009 3:13 pm

Re: Geyser Label Click Event

Post by Vadi »

Definitely!

To run code on a click: https://wiki.mudlet.org/w/Manual:Geyser ... ble_images

To find out where the mouse is: https://wiki.mudlet.org/w/Manual:UI_Fun ... sePosition

Demo of a mouse move event + mouse position function: viewtopic.php?f=6&t=20618

Good luck!

Eirik
Posts: 2
Joined: Wed Sep 13, 2017 12:56 am

Re: Geyser Label Click Event

Post by Eirik »

Thank you so much, I'll review the documentation you provided.

Post Reply