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 is not detected in the script area #2851

Open
ScratchDiogoh opened this issue Aug 12, 2018 · 3 comments
Open

mouse pointer is not detected in the script area #2851

ScratchDiogoh opened this issue Aug 12, 2018 · 3 comments

Comments

@ScratchDiogoh
Copy link

ScratchDiogoh commented Aug 12, 2018

Expected Behavior

mouse must report "true" in the area of scripts

Actual Behavior

the mouse sensor block reports "false"

Steps to Reproduce

open the GUI, drag the blocks "forever" and "say <mouse down?>" and fit them to click on them

Operating System and Browser

Windows 10 and Chrome 68

@Kenny2github
Copy link
Contributor

Kenny2github commented Aug 13, 2018

Your test case is invalid, but the issue is valid. When you click a reporter, it only reports its value when the mouse is released, so naturally when you let go of the mouse so that the "mouse down" block reports its value, the mouse is not down and it therefore reports false.

However, using this script:
image
I see that this is indeed an issue:
mouse behavior
(OS&B: Windows 10 Chrome 68)

@LiFaytheGoblin
Copy link
Contributor

Not only does the mouse down not get noticed in the scripts area but anywhere outside the stage. Maybe we can adapt the title here? Another repro project is:
244616957
And I saw this first in
213485492

@mxmou
Copy link
Contributor

mxmou commented Jul 5, 2020

This should not be fixed because it would allow people to make working love/favorite detectors.

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

5 participants