Discuss Scratch
- Discussion Forums
- » Show and Tell
- » Which Keys Pressed? Workaround (NEW)
- 46009361
-
Scratcher
1000+ posts
Which Keys Pressed? Workaround (NEW)
Link: https://scratch.mit.edu/projects/328947478/
Uses a script to report a list of which key(s) are pressed (can show one or more). You can press any key valid in the dropdown of the Key () Pressed? block, as well as the following extra keys below (using hacked blocks):
The following symbol keys on the keyboard: `~!@#$%^&*()-=_+\{}|;':",./<>?
The enter key
Note: This project contains many hacked blocks.
Uses a script to report a list of which key(s) are pressed (can show one or more). You can press any key valid in the dropdown of the Key () Pressed? block, as well as the following extra keys below (using hacked blocks):
The following symbol keys on the keyboard: `~!@#$%^&*()-=_+\{}|;':",./<>?
The enter key
Note: This project contains many hacked blocks.
Last edited by 46009361 (Sept. 19, 2019 03:25:52)
- GWAPS3-3
-
Scratcher
13 posts
Which Keys Pressed? Workaround (NEW)
You don't need hacked blocks to do it. Just do:
<key [(letter (1) of [key to press]) v] pressed?>
Last edited by GWAPS3-3 (Dec. 12, 2021 04:38:29)
- Discussion Forums
- » Show and Tell
-
» Which Keys Pressed? Workaround (NEW)


