Discuss Scratch

A-no-meep
Scratcher
100+ posts

If any key pressed...

theonlygusti wrote:

Thepuzzlegame wrote:

Support, very easy to add but would have a lot of uses.
TheUniversalWorld1
Scratcher
100+ posts

If any key pressed...

<key [any v] pressed?>
might have a problem with the Scratch source code, but if they could make a block like it, support.
Birdlegs
Scratcher
1000+ posts

If any key pressed...

TheUniversalWorld1 wrote:

<key [any v] pressed?>
might have a problem with the Scratch source code, but if they could make a block like it, support.
It would be kinda like a big succession of “or” booleans with all supported keys inside. If they had to literally use that internally, that's okay, right?
Polaris-
Scratcher
100+ posts

If any key pressed...

Support all the way.

Literally the only workaround is to make a ridiculously long and block. Seen that once or twice.
Letsgopitt
Scratcher
500+ posts

If any key pressed...

Polaris- wrote:

Support all the way.

Literally the only workaround is to make a ridiculously long and block. Seen that once or twice.
Yeah, and you can't make custom hat blocks or reporters.
Birdlegs
Scratcher
1000+ posts

If any key pressed...

Letsgopitt wrote:

Polaris- wrote:

Support all the way.

Literally the only workaround is to make a ridiculously long and block. Seen that once or twice.
Yeah, and you can't make custom hat blocks or reporters.
Still could sorta do hat with broadcasts, but that's not the point here.
thelucariokid
Scratcher
100+ posts

If any key pressed...

99% Support, because it's workaroundable, but the workaround takes a while to make.
IAP-Reloaded
Scratcher
100+ posts

If any key pressed...

Support!
Iloverollercoasters
Scratcher
100+ posts

If any key pressed...

Letsgopitt wrote:

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?> // ditto

Any other ideas?
I got rid of the supporter count.

Well, I would really like the ‘key enter pressed’ blocks, so this is right for me. Support.
Molley24
Scratcher
40 posts

If any key pressed...

Yes!!! Great idea!!! Support!
Pot-of-Gold
Scratcher
1000+ posts

If any key pressed...

Support
Letsgopitt
Scratcher
500+ posts

If any key pressed...

Thanks! Wow, this topic keeps getting bumped by other people…
violin16
Scratcher
99 posts

If any key pressed...

Maybe something like this?

when [Any Letter Key v] key pressed

and then add a dropdown that includes Any Number, Any Arrow and Any Key ?
Superbevzeeb
Scratcher
54 posts

If any key pressed...

Yes! People usually use the spacebar thing for this, but an any key block would work best!
Pot-of-Gold
Scratcher
1000+ posts

If any key pressed...

Sh0pkinsRdabest wrote:

There is a workaround that will take forever:
when [a v] key pressed
do stuff
And repeat that for every key
But, that will take a long time,
Also, for typing stuff I would like a
<key pressed?>
Which could be used like:
if <<key  pressed?> = [a ]> then
stamp

end
So support
if i hadn't said already support as per this
marilynjosiahbojo
Scratcher
34 posts

If any key pressed...

I'll support!
BlueCrayfish
Scratcher
500+ posts

If any key pressed...

CatsUnited wrote:

Semi-support. I would like
(key pressed? :: sensing)
because you can do
if <not <( key pressed? :: sensing) = [ ]>> then
... :: grey
end
BookOwl
Scratcher
1000+ posts

If any key pressed...

SUPPORT!!!
TheUniversalWorld2
Scratcher
80 posts

If any key pressed...

TheUniversalWorld1 wrote:

<key [any v] pressed?>
might have a problem with the Scratch source code, but if they could make a block like it, support.
^
Letsgopitt
Scratcher
500+ posts

If any key pressed...

BlueCrayfish wrote:

CatsUnited wrote:

Semi-support. I would like
(key pressed? :: sensing)
because you can do
if <not <( key pressed? :: sensing) = [ ]>> then
... :: grey
end
But couldn't
<key pressed?> :: sensing
be done with
<key [any v] pressed?>
?

Powered by DjangoBB