- Joined
- Feb 14, 2024
- Messages
- 8
- Thread Author
- #1
I've been searching for this one for hours.
So what I mean by actual mouse position,
Mouse.getPosition(); returns the bot mouse position, but that isn't always the mouse position.
For example if I pause the script, then move my actual human mouse into and out of the window, the mouse position resets to 0,0 or -1,-1 i forget which.
However upon resuming the script it reports the mouse position as being the same as before the script was paused. For example, in the middle of the window.
How am I able to get the actual mouse position of which the client is sending to the server?
This is a common ability in the bot platform i am migrating from which shall not be named lol
thanks again so much. this is very important for me
EDIT:
This is a separate issue but am trying to control the mouse behavior when the script pauses, however it seems like any calls to Mouse.move i place inside of the onPause method just simply return false. How can I allow mouse movement inside the onPause method? Otherwise I will have to create my own pause button on the gui
So what I mean by actual mouse position,
Mouse.getPosition(); returns the bot mouse position, but that isn't always the mouse position.
For example if I pause the script, then move my actual human mouse into and out of the window, the mouse position resets to 0,0 or -1,-1 i forget which.
However upon resuming the script it reports the mouse position as being the same as before the script was paused. For example, in the middle of the window.
How am I able to get the actual mouse position of which the client is sending to the server?
This is a common ability in the bot platform i am migrating from which shall not be named lol
thanks again so much. this is very important for me
EDIT:
This is a separate issue but am trying to control the mouse behavior when the script pauses, however it seems like any calls to Mouse.move i place inside of the onPause method just simply return false. How can I allow mouse movement inside the onPause method? Otherwise I will have to create my own pause button on the gui