Discuss Scratch
- Discussion Forums
- » Suggestions
- » If any key pressed...
- Letsgopitt
-
500+ posts
If any key pressed...
Title explains it all. There should be an option to make scripts that function when any key is clicked, like this:
Any other ideas?
I got rid of the supporter count.
when [any v] key pressed // I'm not sue if it should be a the top or bottom of the dropdown, or if it should be default.
<key [any v] pressed?> // ditto
Any other ideas?
I got rid of the supporter count.
Last edited by Letsgopitt (May 15, 2015 23:42:44)
- Thepuzzlegame
-
1000+ posts
If any key pressed...
Support, very easy to add but would have a lot of uses.
- PaganoLeo10
-
100+ posts
If any key pressed...
Too unclear. Would it include JUST the options in the dropdown or more options like shift? Would the mouse down count?
BUT, it would be convienient.
Support +0.5.
BUT, it would be convienient.
Support +0.5.
- Letsgopitt
-
500+ posts
If any key pressed...
In my mind, I didn't think of mouse keys. However, that may be a good idea… maybe you could chose to include mouse click or not? Also, I was not planning on using shift. It has other uses (e.g. turbo mode) and that may not work. Too unclear. Would it include JUST the options in the dropdown or more options like shift? Would the mouse down count?
BUT, it would be convienient.
Support +0.5.
Does that clear things up?
Full Support?
- Zappy1333
-
100+ posts
If any key pressed...
Support!
Also another related idea:
Also another related idea:
(last key pressed::sensing)//which could be used with this:
<[ v] is a [letter v]::sensing>
<[ v] is a [number v]::sensing>
<[ v] is a [key(shift ect) v]::sensing>
<and more...::sensing>
- Letsgopitt
-
500+ posts
If any key pressed...
Thanks for the support and ideas! However, for the convenience of this topic, could you put those ideas in a new topic? Don't get me wrong, I think those are very good ideas. However, I just think that would make more sense. Thanks! Support!
Also another related idea:(last key pressed::sensing)//which could be used with this:
<[ v] is a [letter v]::sensing>
<[ v] is a [number v]::sensing>
<[ v] is a [key(shift ect) v]::sensing>
<and more...::sensing>
PS: Put me down for support on the those ideas. The reporters could simplify a lot of things. Also, be aware that people will tell you to work around it with this:
when [x v] key pressed
set [last key pressed v] to [x ]
- Knashler
-
16 posts
If any key pressed...
SUPPORT! Title explains it all. There should be an option to make scripts that function when any key is clicked, like this:when [any v] key pressed // I'm not sue if it should be a the top or bottom of the dropdown, or if it should be default.<key [any v] pressed?> // dittoAny thoughts, please reply/support! I am making a text engine and it would be good to have a script like this to simplify things:when [any v] key pressedThanks, and Scratch On!
stamp
- Letsgopitt
-
500+ posts
If any key pressed...
Bump.
I think this is very easy to implement, so any other supporters?
I think this is very easy to implement, so any other supporters?
- 19f8361
-
500+ posts
If any key pressed...
support, along with more keys in
when [ v] key pressedlike: !@#$%^&*()_+~`-=,./<>?;':"{}
<key [ v] pressed?>
Last edited by 19f8361 (Feb. 17, 2015 21:04:29)
- CatsUnited
-
1000+ posts
If any key pressed...
Semi-support. I would like
(key pressed? :: sensing)because you can do
if <not <( key pressed? :: sensing) = [ ]>> then
... :: grey
end
Last edited by CatsUnited (Feb. 16, 2015 23:00:44)
- gigapouch
-
1000+ posts
If any key pressed...
+0.5 support. Although it could be replicated with some time, it might interfere with other key pressed blocks.
- Letsgopitt
-
500+ posts
If any key pressed...
How would it conflict with other commands? Could you give me an example? +0.5 support. Although it could be replicated with some time, it might interfere with other key pressed blocks.
- gigapouch
-
1000+ posts
If any key pressed...
How would it conflict with other commands? Could you give me an example? +0.5 support. Although it could be replicated with some time, it might interfere with other key pressed blocks.
If you had other key pressed blocks and you pressed one of those keys accidentally, the command that block would trigger would also trigger with the if any key pressed command. It may make the editor crash.
- djdolphin
-
1000+ posts
If any key pressed...
…????? No it wouldn't.How would it conflict with other commands? Could you give me an example? +0.5 support. Although it could be replicated with some time, it might interfere with other key pressed blocks.
If you had other key pressed blocks and you pressed one of those keys accidentally, the command that block would trigger would also trigger with the if any key pressed command. It may make the editor crash.
- Letsgopitt
-
500+ posts
If any key pressed...
I don't think that would happen, but both commands would go at the same time. Also, they would be used in different circumstances.…????? No it wouldn't.How would it conflict with other commands? Could you give me an example? +0.5 support. Although it could be replicated with some time, it might interfere with other key pressed blocks.
If you had other key pressed blocks and you pressed one of those keys accidentally, the command that block would trigger would also trigger with the if any key pressed command. It may make the editor crash.
- Discussion Forums
- » Suggestions
-
» If any key pressed...