Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mouse pointer picks up sprite when the sprite moves under it AFTER mouse down #3011

Open
BryceLTaylor opened this issue Aug 28, 2018 · 1 comment

Comments

@BryceLTaylor
Copy link
Contributor

BryceLTaylor commented Aug 28, 2018

Expected Behavior

If the mouse isn't over the sprite when the mouse button is down, you won't pick up the sprite, matching 2.0 behavior

Actual Behavior

You do pick up the sprite

Steps to Reproduce

Create a new project
To the cat add this stack of code When GF Clicked``forever``move 10 steps``if on edge bounce
Run the code
In the path of the cat's movement, but where the cat isn't yet, click and hold the mouse down
When the cat moves under the mouse, move the mouse cursor
Note: the cat gets picked up by the mouse
mousegrab

Other methods can be used as well to move the cat under the mouse pointer such as using forever``if mouse down go to mouse pointer:
mousegrab2

This project uses that method and it often doesn't work properly in 3.0. That was originally found in this issue: #2791

Operating System and Browser

Chrome on Mac

@BryceLTaylor BryceLTaylor changed the title Mouse pointer picks up sprite when the sprite moves after it AFTER mouse down Mouse pointer picks up sprite when the sprite moves under it AFTER mouse down Aug 28, 2018
@thisandagain thisandagain added this to the Backlog milestone Aug 28, 2018
@cyx2015s
Copy link

When on mobile: use the same script and your finger slide on the stage, when the cat touches the point you begins, it will move to your finger.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants