#1096 closed Feature Request (Rejected)
MouseMove() Function
| Reported by: | aSigN | Owned by: | |
|---|---|---|---|
| Milestone: | Component: | AutoIt | |
| Version: | Severity: | None | |
| Keywords: | Mouse Move | Cc: |
Description
In a lot of fps game the mouse are centerd all the time.
When I set it to move to the left 50px it will continue turning right 50px all the time because the mouse could only be on the middle, so the feature i request is MouseMove()
MouseMove(x,y,s)
x for x axis
y for y axis
s for speed maybe from 1 to 100
example MouseMove(50,50,10) ;That would make my mouse go 50 pixels up 50 pixels right and the speed of 10
Attachments (0)
Change History (2)
follow-up: 2 comment:1 by , 17 years ago
| Resolution: | → Rejected |
|---|---|
| Status: | new → closed |
| Version: | 3.3.0.0 |
comment:2 by , 17 years ago
Replying to Valik:
- Call MouseGetPos().
- Offset the position by whatever you want.
- Call MouseMove() with the new coordinates calculated in step 2.
We really don't need to make a built-in function to do something you can do in two additional steps (or none if you wrap the code in a function).
As I Said MouseMove() can't be use in fps game

We really don't need to make a built-in function to do something you can do in two additional steps (or none if you wrap the code in a function).