Discuss Scratch

HDG2012
Scratcher
5 posts

Shift key pressed

<key [enter] [] pressed?>

Last edited by HDG2012 (July 8, 2022 16:18:10)

Flare_Droid_Gamer
Scratcher
28 posts

Shift key pressed

I'm sorry but you can't actually detect when shift or enter is pressed.
abcde1234qwe
Scratcher
500+ posts

Shift key pressed

Flare_Droid_Gamer wrote:

I'm sorry but you can't actually detect when shift or enter is pressed.
You actually can, it's just not possible to detect backspace, control, alt, and a few other keys.
To detect if a shift or enter key is pressed, use this code:
<key (join [shift] []) pressed?>
<key (join [enter] []) pressed?>
helloworldbyeworld
Scratcher
1000+ posts

Shift key pressed

abcde1234qwe wrote:

Flare_Droid_Gamer wrote:

I'm sorry but you can't actually detect when shift or enter is pressed.
You actually can, it's just not possible to detect backspace, control, alt, and a few other keys.
To detect if a shift or enter key is pressed, use this code:
<key (join [shift] []) pressed?>
<key (join [enter] []) pressed?>
Actually, it is not possible to detect shift, not even using that way.

However, you can make a “caps lock” button on the project and have the user use that to make capitals.
cIoudyness
Scratcher
500+ posts

Shift key pressed

shift doesn't seem to work for me?
HDG2012
Scratcher
5 posts

Shift key pressed

HDG2012 wrote:

<key [enter] [] pressed?>

Flare_Droid_Gamer wrote:

I'm sorry but you can't actually detect when shift or enter is pressed.
Sorry for posting that! /_ \
abcde1234qwe
Scratcher
500+ posts

Shift key pressed

helloworldbyeworld wrote:

Actually, it is not possible to detect shift, not even using that way.
That's odd, I did it before. Guess I was using an extension or something.
firedestroyer1
Scratcher
72 posts

Shift key pressed

I think it works if you use (name of extension censored) and have a specific addon enabled, but not otherwise.

Last edited by firedestroyer1 (July 8, 2022 21:40:35)

cIoudyness
Scratcher
500+ posts

Shift key pressed

firedestroyer1 wrote:

I think it works if you use (pineapple on pizza) and have a specific addon enabled, but not otherwise.
ah

Last edited by cIoudyness (July 9, 2022 00:36:18)

firedestroyer1
Scratcher
72 posts

Shift key pressed

oh oops.

Why is that?

Last edited by firedestroyer1 (July 8, 2022 21:40:59)

cIoudyness
Scratcher
500+ posts

Shift key pressed

firedestroyer1 wrote:

oh oops.

Why is that?
i think I read somewhere that it’s because scratch doesn’t like supporting extensions because they’re outside of its control, so say if something bad happened with an extension then they don’t want to promote that??

could be completely missing the mark though
RT_Borg
Scratcher
1000+ posts

Shift key pressed

Scratch has an official policy that we are not able to reference/link any specific Addon/Plugin/Script that's a browser extension in the forum.

You are allowed to use them if you find them through google or watching a griffpatch video where he discusses the one he adds capabilities to.

The official policy has a good description of the computer access a browser extension might have, and how an untrustworthy extension could abuse those capabilities. Since the Scratch Team is unable to monitor outside Addon/Plugin/Script extensions, they've issued a blanket ban from linking them all in the forums.

Many scratchers are young and not computer savvy, and aren't in a position to judge the safety of one extension vs another. While inconvenient, we should understand the policy of not linking extensions here on the Scratch site, which parents regard as a “safe space” for young scratchers.

– RT_Borg
ModCoderX
Scratcher
13 posts

Shift key pressed

abcde1234qwe wrote:

helloworldbyeworld wrote:

Actually, it is not possible to detect shift, not even using that way.
That's odd, I did it before. Guess I was using an extension or something.
I think only keys like “[” work for that I have tried it before
medians
Scratcher
1000+ posts

Shift key pressed

This used to be possible through hacked blocks, but sigh..

chrispickeral wrote:

It's Actually Kinda Possible To Use The Shift Key In Your Projects, All You Need Is The removed Extension
Please see https://scratch.mit.edu/discuss/topic/284272 and do not necropost.
Also, that’s not really a solution because of the fact that you need the extension to do that in the first place, or use a modification.
23run
Scratcher
2 posts

Shift key pressed

I don't know if I'm going crazy or not. I remember playing a 3d scratch game with a sniper and I remember that to zoom into the scope, you press the shift key. I remember going through and searching the project to find the code but couldn't (it was too complicated for me). I forgot about it and can't find the project anywhere.
luketheluke-2
Scratcher
21 posts

Shift key pressed

<key [enter v] pressed?>
that exists
I might be able to get special things
TheCanadianEngineer
Scratcher
21 posts

Shift key pressed

abcde1234qwe wrote:

Flare_Droid_Gamer wrote:

I'm sorry but you can't actually detect when shift or enter is pressed.
You actually can, it's just not possible to detect backspace, control, alt, and a few other keys.
To detect if a shift or enter key is pressed, use this code:
<key (join [shift] []) pressed?>
<key (join [enter] []) pressed?>
Is this real? I'm trying to find a solution to my problem?
webreserch
Scratcher
500+ posts

Shift key pressed

HDG2012 wrote:

HDG2012 wrote:

<key [enter] [] pressed?>

Flare_Droid_Gamer wrote:

I'm sorry but you can't actually detect when shift or enter is pressed.
Sorry for posting that! /_ \
you can withe enter
luketheluke-2
Scratcher
21 posts

Shift key pressed

yeah
<key [enter v] pressed?>
I'm pretty sure its a regular option
Sammies123333
Scratcher
100+ posts

Shift key pressed

luketheluke-2 wrote:

yeah
<key [enter v] pressed?>
I'm pretty sure its a regular option
Is it? I remember that being an addon

Powered by DjangoBB