Change the cursors position?
- dudejonne
-
dudejonne
- Member since: Sep. 13, 2008
- Offline.
-
- Forum Stats
- Member
- Level 09
- Blank Slate
Is it possible to change the position of the cursor?
I couldn't find any tutorials and if its not possible its kinda logical, but still.
Because I have a game witch is controlled by the mouse, but if you press 'p' (pause :p ) then you can change the position of the mouse, but I don't want that, so I though that the x and y of the mouse maybe could be reseted to their old position if you resume the game.
- Denvish
-
Denvish
- Member since: Apr. 25, 2003
- Offline.
-
- Send Private Message
- Browse All Posts (15,977)
- Block
-
- Forum Stats
- Member
- Level 46
- Blank Slate
You can't change the mouse co-ordinates, no. You can change the position of an attached/created cursor, and use Mouse.hide() to get rid of the original cursor, but any changes you make to the new cursor position will not be reflected in the _xmouse and _ymouse values.


