Discuss Scratch
- Discussion Forums
- » Suggestions
- » when "shift" key pressed
- Tymewalk
-
1000+ posts
when "shift" key pressed
1-0 are already there. Support and could there be 1,2,3,4,5,6,7,8,9,0 added in at the same time.
Support for adding more keys such as left/right shift/contol/alt, backspace, special symbols (backslash anyone?), etc. I think this would be useful for projects such as:
- OSes - You could make a real control-alt-delete instead of just C-A-D.
- Shooter games - Many of these use shift to run and control (ctrl) to crouch, currently not many on Scratch do because there's no Vanilla block for them.
- Special cheat codes - Control-alt-delete could be a special cheat code for a game.
- Enabling a cheat console - The ` key is used by many games to open the developer console.
- jacquesimo
-
100+ posts
when "shift" key pressed
One of the reasons this has not been added is because dragging a variable into a when key pressed function will probably crash Scratch if multiple letters are in the variable. Also adding the function keys such as CTRL, FN, ALT, SHIFT, CAPS LOCK, TAB, and BACKSPACE are all function keys, meaning if they are combined with another key like CTRL W will override the Scratch Project and close the web page.
This is a theory not a statement!
This is a theory not a statement!
- Scratcher1002
-
1000+ posts
when "shift" key pressed
Good idea! It is very annoying to have to look at the whole list to find a letter that is limited to a-z, 0-9, arrow keys, and space. +1 for OP and Blitz Sounds like a great idea, this is something that's been bothering me lately. While we're at it, they should also add when system key (Windows for example) , or any other key (/ for example) pressed.
- programma07
-
36 posts
when "shift" key pressed
But what if I try typing “shift”? Does it detect that?It would just automatically go back to blank until a single symbol is entered.Then what happens if I do this? And instead of having a drop-down menu, you could just type in the key in a text box.
Type “shift”.
- lizardz25
-
30 posts
when "shift" key pressed
you can do that: Sounds like a great idea, this is something that's been bothering me lately. While we're at it, they should also add when system key (Windows for example) , or any other key (/ for example) pressed.
you put a dollar sign and then the key, but only with typable characters. (by the way, i learned that from griffpatch, https://scratch.mit.edu/users/griffpatch/ )
Last edited by lizardz25 (May 24, 2016 20:12:50)
- Sheep_maker
-
1000+ posts
when "shift" key pressed
Would the “enter”, “backspace”, and “ctrl” be displayed as “return”, “delete”, and “command”, or would the Windows keys be prioritized over Apple? (even worse - if we were to add the “delete” option, things would get confusing)
- Toa_Vezon22
-
18 posts
when "shift" key pressed
I just think you should be able to add
into
blocks. With a
block, you could enter whatever you want in there. It could also be great for adding a control customization function to games.
- Toa_Vezon22
-
18 posts
when "shift" key pressed
I clicked the link. The project does not work, likely due to its age.
That Works! Just Go To https://scratch.mit.edu/projects/976646/#player
- AnimationBoomer
-
100+ posts
when "shift" key pressed
I was wondering if you could make it so that you can use the “shift” key for projects, or other keys like Ctrl, Alt, Enter, Backspace, comma, or period. The only thing that would be annoying would be sticky keys, but people can disable that. Thanks!
Thank you for all the support!
No support.
Reason:
This is already in Scratch. I think griffpatch made a project with a block that has this.
I think either one was the block he used:
Just empty out the key pressed section and you can use it on Shift, Control, etc.
Last edited by AnimationBoomer (May 29, 2016 19:21:40)
- AnimationBoomer
-
100+ posts
when "shift" key pressed
I was wondering if you could make it so that you can use the “shift” key for projects, or other keys like Ctrl, Alt, Enter, Backspace, comma, or period. The only thing that would be annoying would be sticky keys, but people can disable that. Thanks!
Thank you for all the support!
Here is the project. So no support because it is already supported in Scratch.
- Austinato
-
1000+ posts
when "shift" key pressed
I support this idea, so it'll be easier for us to use that, rather than hacking blocks and sharing those hacked blocks. 
Support for convenience.
(Note: People have already worked around this by hacking projects. However, that is a slightly longer process and requires you to drag a sprite/script to your backpack.)

Support for convenience.

(Note: People have already worked around this by hacking projects. However, that is a slightly longer process and requires you to drag a sprite/script to your backpack.)
Last edited by Austinato (May 29, 2016 20:43:04)
- Toa_Vezon22
-
18 posts
when "shift" key pressed
I agree, for the same reasons. Support. I support this idea, so it'll be easier for us to use that, rather than hacking blocks and sharing those hacked blocks.
Support for convenience.
(Note: People have already worked around this by hacking projects. However, that is a slightly longer process and requires you to drag a sprite/script to your backpack.)
- Toa_Vezon22
-
18 posts
when "shift" key pressed
It requires hacked blocks, which are a pain to get.I was wondering if you could make it so that you can use the “shift” key for projects, or other keys like Ctrl, Alt, Enter, Backspace, comma, or period. The only thing that would be annoying would be sticky keys, but people can disable that. Thanks!
Thank you for all the support!
Here is the project. So no support because it is already supported in Scratch.
- Sheep_maker
-
1000+ posts
when "shift" key pressed
Hacked blocks are discouraged by the Scratch team and might even be against the Guidelines. Scratchers have to be able to understand the mess inside others' projects, you knowI was wondering if you could make it so that you can use the “shift” key for projects, or other keys like Ctrl, Alt, Enter, Backspace, comma, or period. The only thing that would be annoying would be sticky keys, but people can disable that. Thanks!
Thank you for all the support!
Here is the project. So no support because it is already supported in Scratch.
- LattleKada
-
100+ posts
when "shift" key pressed
Support, also maybe others like ctrl. and alt.
- Toa_Vezon22
-
18 posts
when "shift" key pressed
how about “when you press the shift key, your character runs”? Seems practical for game design. More button support is a good thing. No practical use, no support.
- Discussion Forums
- » Suggestions
-
» when "shift" key pressed