ID:270296
 
Is it possible to detect clicks on the screen? Such as to know if I clicked 1,1 on the client's screen?
client/DblClick()

:P

Only catch is that an object has to be clicked on, so clicking outside a map boundary wouldn't work.

One solution might be to fill client.screen with some invisible objects that trap the mouse clicks.
In response to Jon88
Ok, that was no help.
Maybe you just didn't read my post.

What I asked was, "Is there a way to find out the location of a click on the clients screen".

I know you can click an object, that wasn't what I asked. :-\
In response to Sniper Joe
Sniper Joe wrote:
Ok, that was no help.
Maybe you just didn't read my post.

What I asked was, "Is there a way to find out the location of a click on the clients screen".

I know you can click an object, that wasn't what I asked. :-\

But if the object is on the client's screen(client.screen), you can know exactly where on the screen it is. Then if it's clicked, you know what location of the client's screen was clicked.
In response to Jon88
Ya, ok. Thanks anyway.
In response to Sniper Joe
dont forget to set the mouse_opacity to 2 if you're using invisible objects.