REMIX DONE BY GAMINGSTUDIOS CHANGES MADE: Made it easier to select Follow Slowness --------------------------------------------------- All credit to original author Seil original project: http://scratch.mit.edu/projects/Seil/2724491 ORIGINAL PROJECT NOTES: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ This project demonstrates smooth mouse following by slowing an object down the closer it gets to the mouse. Update: Hold space to stop following the mouse. How it works: The box will always point towards the mouse, as you can see. Then it will move towards the mouse by the distance in pixels from the box to the mouse divided by the follow slowness. For example, let's say the distance to mouse pointer is 50 pixels, meaning the box is 50 pixels away from the mouse. To this end, the box will move 50 pixels towards the mouse, which would mean it would move directly to the mouse. Let's say the Follow Slowness is 10. There's actually an equation in the script, distance / follow slowness. This means that if the box is 50 pixels away from the mouse, it would calculate distance / follow slowness, in this case 50/10, which is 5. So it would move 5 pixels towards the mouse. From there, if the mouse hadn't moved, the box would now be 45 pixels away from the mouse. It will calculate distance / follow slowness, this time 45/10, 10 being the follow slowness. So now it would move 4.5 pixels towards the mouse, and so on. This gives the effect of it slowing down as it gets closer, because of the distance divided by the follow slowness. It's okay if you don't understand. Lol.