# Follow mouse command

**URL:** <https://forum.kirupa.com/t/follow-mouse-command/163852>\
**Category:** Uncategorized\
**Created:** [September 26, 2005, 8:20pm UTC](https://forum.kirupa.com/t/follow-mouse-command/163852 "2005-09-26T20:20:33Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![pkcidstudio](https://avatars.discourse-cdn.com/v4/letter/p/278dde/32.png) [@pkcidstudio](https://forum.kirupa.com/u/pkcidstudio)\
**Post date:** [September 26, 2005, 8:20pm UTC](https://forum.kirupa.com/t/follow-mouse-command/163852/1 "2005-09-26T20:20:33Z")

</div>

thought i would just put this up, incase anyone ever wondered how it was done.  
have you ever wanted the users mouse to change it’s look when they scroll over something on your site. example… golf site, mouse changes into a golf ball. or what not.

any how here it is, make a mc, give it a instance name of “follow”  
then on the root timeline, which is the timeline you see when you load flash up.  
layer 1 --\>actions  
layer 2 --\>mc

here is the script for the actions.

```auto
 
startDrag("follow",true);
Mouse.hide();

```

then it should work just fine.  
the Mouse.hide(); --\> is what hides the mouse when you move over the top of the area you would like the mouse to change.

hope this helped anyone who ever wondered how it was done. i have included the fla if you would like to see or if i was not clear in one aspect or another.
