-
Notifications
You must be signed in to change notification settings - Fork 592
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
Pins pressed/released confusion #2495
Comments
In the spirit of a minimal number of blocks: rather than add a block, maybe deprecate Something like this but with UP instead of CLICK: (This code is a bit nasty, but only people with special requirements will care about the difference between UP and CLICK.)
|
Yep, that is very confusing. We don't remove blocks very often though. Maybe we should hide |
Looks like If adding the other one, |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
There are two blocks for pin-touch-related events:
onPinPressed
is CLICK andonPinReleased
is UP.As there are two blocks, and "pressed" and "released" can be opposites in natural language, there's a strong implication that these blocks have opposite actions. In reality, they do almost the same thing.
Adding the DOWN block would help with this, but naming it is a problem (as the other two have painted it into a corner).
The sprite here normally doesn't go anywhere, but we can make it move to the right with a long click:
The text was updated successfully, but these errors were encountered: