The sprite does not follow the mouse pointer correctly
See original GitHub issueI’ve created a custom icon sprite right inside TurboWarp for convenience. I assigned it the script forever go to X (mouse pointer) and Y (mouse pointer)
.
I will attach below a video showing a test: https://youtu.be/O60JT92qbs8
This happens both in TurboWarp (online version) and in the file created by the online version of the packager in all environments.
Issue Analytics
- State:
- Created a year ago
- Comments:22 (10 by maintainers)
Top Results From Across the Web
sprite won't follow mouse pointer - Discuss Scratch
I'm having a problem with my sprite following the mouse pointer. it's following it but the mouse pointer needs to be far away...
Read more >Sprite following mouse pointer not working #4648 - GitHub
The solution here is to make the "when this sprite clicked" block only evaluate once the mouse is lifted up (i.e. a full...
Read more >Making a Sprite Follow the Mouse - Scratch Wiki
This tutorial will explain how to make a sprite always be where the mouse is, follow the mouse indefinitely, if a button is...
Read more >Moving Sprites with Mouse - Medium
It follows the mouse smoothly and when released it returns to a predefined position. In this case, the predefined position is not the...
Read more >How do I make camera follow sprite and sprite follow mouse at ...
First I made the sprite to follow the mouse and it works perfectly fine. this.input.on('pointermove', function (pointer) { this.physics.moveToObject(this.player ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’ve been able to reproduce this now, thanks. Will look into it when I have more time.
It works for me! Thanks!