Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » how do you make a sprite follow your mouse?
- ColtPanther2016
-
1 post
how do you make a sprite follow your mouse?
how do you make a sprite follow your mouse? help?!
- drmcw
-
1000+ posts
how do you make a sprite follow your mouse?
Be careful with the
block as It currently has a bug and doesn't work when just dragged into a project. To fix; just re-select mouse-pointer from the block's drop down menu.
- jacquesimo
-
100+ posts
how do you make a sprite follow your mouse?
Or
p.s. Don't forget this!
- Jagged-tail
-
8 posts
how do you make a sprite follow your mouse?
That points, not goes to.
this should help:
- asivi
-
1000+ posts
how do you make a sprite follow your mouse?
Please read the original postThat points, not goes to.
this should help:
follow your mouse? help?!how do you make a sprite
- -Spectrum
-
500+ posts
how do you make a sprite follow your mouse?
To make a sprite follow your mouse forever, all you need is a very simple script: how do you make a sprite follow your mouse? help?!
The sprite will act as if it is stuck to your mouse. If you use this script, which many people have been suggesting . . .
. . . then it won't actually work, at least not for what I think you're trying to do.
You could also replace the ‘go to mouse pointer’ block with this, although there's no point really:
I hope that helps, this topic has been getting a little confusing with all the answers!

- drmcw
-
1000+ posts
how do you make a sprite follow your mouse?
That's why each person who suggested it has added a move block to the loop so it will work. You just need to be careful of the scratch bug associated with that block and just re-select mouse-pointer from the blocks menu to fix. If you use this script, which many people have been suggesting . . .
. . . then it won't actually work, at least not for what I think you're trying to do.
- moss-shadow
-
500+ posts
how do you make a sprite follow your mouse?
Here's a harder but cooler way:
- Discussion Forums
- » Help with Scripts
-
» how do you make a sprite follow your mouse?