Discuss Scratch

ChemistryPanda
Scratcher
69 posts

The "Go To Mouse Pointer" Block isn't working

When I tried to use the go to mouse pointer block, it didn't work and went to a different place than the mouse pointer. I tried using the script below, but then it stopped sensing at certain areas.

change x by (-36)
change y by (-2)
TheColaber
Scratcher
500+ posts

The "Go To Mouse Pointer" Block isn't working

Can post the project so we can take a look?
ChemistryPanda
Scratcher
69 posts

The "Go To Mouse Pointer" Block isn't working

okay you can click see inside https://scratch.mit.edu/projects/459713306/
TheColaber
Scratcher
500+ posts

The "Go To Mouse Pointer" Block isn't working

Your problem is that the costume is not centered! Look:

Move the circle to the center and then you should be able to remove the change x and y blocks
ChemistryPanda
Scratcher
69 posts

The "Go To Mouse Pointer" Block isn't working

Wait I think I fixed it - I just had to adjust the place of the circle on the costume painter
deesawhney
Scratcher
97 posts

The "Go To Mouse Pointer" Block isn't working

This is why it doesn't work: in your costume for the cursor, the circle is slightly off-center. It is really easy to make the circle centered though. First, go to the costumes tab. Then drag the circle so that the + sign on the circle matches with the other + sign. (The other + sign kind of looks like a steering wheel)

Powered by DjangoBB