use this code to make a sprite smoothly follow your mouse. Have fun using this in your games!
click "see inside" and go to the sprite "CODE" for the code.