You're close. mouseX, mouseY with a lower-case m. If you just use it unqualified, it will be the coordinates relative to the root or whatever DisplayObject that code is in. You can use stage.mouseX, stage.mouseY to use global coordinates.
|
Results 1 to 2 of 2
Thread: Moving Hero With MouseThreaded View
|
Click Here to Expand Forum to Full Width |