ID:270296
![]() Mar 3 2006, 2:09 pm
|
|
Is it possible to detect clicks on the screen? Such as to know if I clicked 1,1 on the client's screen?
|
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. :-\ |
Sniper Joe wrote:
Ok, that was no help. 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. |
: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.