Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » How do you make the sprite look at the mouse pointer?
- xJeD
-
Scratcher
7 posts
How do you make the sprite look at the mouse pointer?
So I want the sprite to rotate or do whatever to look at my mouse pointer, but I don't know how to. Please help?
Thanks.

Thanks.

- drmcw
-
Scratcher
1000+ posts
How do you make the sprite look at the mouse pointer?
foreverhowever there is a bug with that block currently. To fix; once you've dragged and dropped the block, just re-select “mouse-pointer” from the block's drop down menu.
point towards [mouse-pointer v]
end
- xJeD
-
Scratcher
7 posts
How do you make the sprite look at the mouse pointer?
@drmcwforeverhowever there is a bug with that block currently. To fix; once you've dragged and dropped the block, just re-select “mouse-pointer” from the block's drop down menu.
point towards [mouse-pointer v]
end
Thanks!
- Speedyscout10
-
Scratcher
14 posts
How do you make the sprite look at the mouse pointer?
Say ‘when flag clicked, forever go to mouse pointer’ or ‘when flag clciked, forever face (?) mouse pointer. Dunno if its called ’face mouse pointer' or something.
I think it's ‘point in direction of’ (mouse pointer).
I think it's ‘point in direction of’ (mouse pointer).foreverI hope this helped!
point towards [mouse-pointer]
end
Last edited by Speedyscout10 (Oct. 10, 2016 07:08:05)
- strawdoll22
-
Scratcher
3 posts
How do you make the sprite look at the mouse pointer?
How would you make a character's eyes follow the mouse pointer rather than the whole character?
- deck26
-
Scratcher
1000+ posts
How do you make the sprite look at the mouse pointer?
How would you make a character's eyes follow the mouse pointer rather than the whole character?Please start your own topic. The eyes would have to be separate sprite or you'd need lots of costumes.
- SupaStrika10
-
New Scratcher
1 post
How do you make the sprite look at the mouse pointer?
I need help! I made it face the mouse pointer but
it doesn't face exactly where the pointer is
it doesn't face exactly where the pointer is
- deck26
-
Scratcher
1000+ posts
How do you make the sprite look at the mouse pointer?
I need help! I made it face the mouse pointer butPlease create your own new topic and share your project. The first thing I'd check is the costume centre.
it doesn't face exactly where the pointer is
- Alexnewtronim
-
Scratcher
2 posts
How do you make the sprite look at the mouse pointer?
When I do the code, It just rotates around my mouse, and not looking at my mouse. Its also not locked to its own sprite. How do I fix this?!
- DrGaming_92Games
-
Scratcher
100+ posts
How do you make the sprite look at the mouse pointer?
When I do the code, It just rotates around my mouse, and not looking at my mouse. Its also not locked to its own sprite. How do I fix this?!
Please make your own topic if you need help rather than necroposting.
- gabriellef6
-
Scratcher
5 posts
How do you make the sprite look at the mouse pointer?
how can I make the eyes of the sprite to look at the mouse pointer without rotating
- -OkWow-
-
Scratcher
28 posts
How do you make the sprite look at the mouse pointer?
So you make two costumes and have them pointing different ways so use
but when using arrow keys then if left arrow pressed then costume left else costume right
(x position)if x = ??? then have them point this way else other way
but when using arrow keys then if left arrow pressed then costume left else costume right - Oumuamua
-
Scratcher
1000+ posts
How do you make the sprite look at the mouse pointer?
how can I make the eyes of the sprite to look at the mouse pointer without rotating
You just create your own topic and share your eyes.
I mean share your project.

- Pillow_BFB
-
Scratcher
1 post
How do you make the sprite look at the mouse pointer?
forever
point towards [mouse-pointer v]
end
Last edited by Pillow_BFB (Aug. 28, 2020 15:15:56)
- Wyan100
-
Scratcher
1000+ posts
How do you make the sprite look at the mouse pointer?
forever
point towards [mouse-pointer v]
end
Please do not Necropost

- joshuaho
-
Scratcher
1000+ posts
How do you make the sprite look at the mouse pointer?
Hey folks - this thread is rather old. Please feel free to make a new topic if you have a new question regarding to project scripting. Doing so will make it easier for others to find your question.
It would also be a good idea to share your project and provide a link to it, so others will be able to see what exactly needs to be fixed.
It would also be a good idea to share your project and provide a link to it, so others will be able to see what exactly needs to be fixed.

- Discussion Forums
- » Help with Scripts
-
» How do you make the sprite look at the mouse pointer?