Making objects follow the mouse

Tutorials Shared by the Internet Community


Making objects follow the mouse

Using scripting on a movie clip,


  • Total Hits - 33641

  • Total Votes - 104 votes

  • Vote Up - 47 votes

  • Vote Down - 57 votes

  • Domain -

  • Category - Flash/Math & Physics

  • Submitted By - Devesh Khanna

  • Submitted on - 2008-04-02 11:25:04


Well, as a bit of background, I saw a Flash ad on the net a while ago, which had an object that not only changed its rotation according to the mouse angle, but actually followed the mouse around the screen. Which got me wondering how they did it. It’s actually not as hard as you might think. All it took me was about an hour of trial and error to get it working.    More detail...

Broken  |   Save  |   Liked  |   Down

E-Books Store