Skip to main content
Participant
November 7, 2008
Answered

Mouse position

  • November 7, 2008
  • 2 replies
  • 436 views
Hello, First time I'm posting on a forum, so I hope everythings will be allright.

I'm wonder if I can change my mouse position with AS2 or AS3. I can't find anyway.
I can find my mouse position but I want to change it.
Is it possible ?

Thanks for helping
This topic has been closed for replies.
Correct answer gepgeppinok
Ok thank you very much

2 replies

kglad
Community Expert
Community Expert
November 10, 2008
you're welcome.
kglad
Community Expert
Community Expert
November 7, 2008
you can't really control the user's mouse, but you can make it appear that you're controlling the user's mouse by using a custom cursor. that involves a few steps:

1. create a movieclip or sprite that the user will see indicating the cursor position
2. hide the mouse
3. start a loop that updates your object created in 1. generally that would respond the mouse'es true position.
gepgeppinokAuthorCorrect answer
Participant
November 10, 2008
Ok thank you very much