Hello. I want to do a game where you control your main character with the mouse. But I kinda forget the code needed to achieve that.
Isn't something like:
I tried several variatons but it doesn't work.Code:hero.x = MouseX; hero.y = MouseY;
I´m using Flash CS3 and Actionscript 3.0 by the way.