PDA

View Full Version : Setting the mouse pointer's position


megadev
02-25-2008, 10:37 AM
Good morning everyone,

Just wondering if it's possible to set the mouse pointer's position? Something like:

stage.mouseX = stage.stageWidth / 2;

Obviously this doesn't work as "mouseX" is read-only, but hopefully you get what I mean!

Cheers,

Mike.

Billy T
02-25-2008, 12:48 PM
nope. But you could hide the mouse, make a custom cursor (movieclip that follows the mouse) and then set the position of that to whereever you want