Discuss Scratch

mlcreater
Scratcher
1000+ posts

shift key code is ?

To detect pressing the “ ” key, one uses:
<key [space] pressed?>

To detect pressing the “
” key, one uses:
<key [enter] pressed?>

What string must one use to detect pressing the shift key (the modifier key that changes, for example, “a” to “A”)?
key [???] pressed? // detects pressing "?"
BearSlothCoding
Scratcher
1000+ posts

shift key code is ?

I'm pretty sure that's impossible, at least, it is without a hacked block.
--Explosion--
Scratcher
1000+ posts

shift key code is ?

BearSlothCoding wrote:

I'm pretty sure that's impossible, at least, it is without a hacked block.
Yes, it used to be possible in 2.0, now th way that scratch projects are encoded has changed so it is impossible even with “hacked” blocks.
mlcreater
Scratcher
1000+ posts

shift key code is ?

--Explosion-- wrote:

BearSlothCoding wrote:

I'm pretty sure that's impossible, at least, it is without a hacked block.
Yes, it used to be possible in 2.0, now th way that scratch projects are encoded has changed so it is impossible even with “hacked” blocks.
Why?

Edit (clarification): I ask why it is impossible for the shift key to be detected, not why the file format changed.

Last edited by mlcreater (Aug. 20, 2020 02:29:07)

mlcreater
Scratcher
1000+ posts

shift key code is ?

I just found this again and noticed that I still don't have an answer with the precision that I wanted…
Do any Scratch users who have recently joined or found the forums have such an answer?

Powered by DjangoBB