question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

The sprite does not follow the mouse pointer correctly

See original GitHub issue

I’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:closed
  • Created a year ago
  • Comments:22 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
GarboMuffincommented, Oct 17, 2022

I’ve been able to reproduce this now, thanks. Will look into it when I have more time.

0reactions
Alestorecommented, Oct 22, 2022

It works for me! Thanks!

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found