Discuss Scratch

cskps-j20150
Scratcher
17 posts

Why didn’t Scratch add “enter”key?

when [ enter v] key pressed
horizontal_shading
Scratcher
1000+ posts

Why didn’t Scratch add “enter”key?

cskps-j20150 wrote:

when [ enter v] key pressed
It is on Turbowarp.
The enter key still works on Scratch with a hack:

<key (join [enter] []) pressed?>

It might be preference as to why it's not listed. I could be wrong.

Last edited by horizontal_shading (June 15, 2024 22:43:04)

BigNate469
Scratcher
1000+ posts

Why didn’t Scratch add “enter”key?

It still works, using the above method.
You can also hack it into a block, so
when [enter v] key pressed
<key [enter v] pressed?>
can exist.
cheddargirl
Scratch Team
1000+ posts

Why didn’t Scratch add “enter”key?

Probably a carryover from the old 1.x days when pressing the enter key was equivalent to pressing the green flag button.
BluePixelLOLLL
Scratcher
1000+ posts

Why didn’t Scratch add “enter”key?

cheddargirl wrote:

Probably a carryover from the old 1.x days when pressing the enter key was equivalent to pressing the green flag button.
You learn something new everyday
cskps-j20150
Scratcher
17 posts

Why didn’t Scratch add “enter”key?

when [ enterv] key pressed
⬇️
when green flag clicked
if <key [ (join [enter] [])] pressed?> then

end
Barhamaniacs4300
Scratcher
100+ posts

Why didn’t Scratch add “enter”key?

You can use this as a replacement:

when green flag clicked
forever
if <key (join (enter) ()) pressed> then
do whatever you want
end
end

Last edited by Barhamaniacs4300 (June 24, 2024 23:09:52)

qq735
Scratcher
100+ posts

Why didn’t Scratch add “enter”key?

Barhamaniacs4300 wrote:

You can use this as a replacement:
when green flag clicked
forever
if <key (join [enter] ()) pressed> then
do whatever you want
end
end
you must add on the outside of all your code
you must also add brackets on the outside of your text fields to make a string, () makes a variable

Last edited by qq735 (June 24, 2024 23:57:43)

medians
Scratcher
1000+ posts

Why didn’t Scratch add “enter”key?

BluePixelLOLLL wrote:

cheddargirl wrote:

Probably a carryover from the old 1.x days when pressing the enter key was equivalent to pressing the green flag button.
You learn something new everyday
I mean, I knew that, but I thought that it still could've been added (I don't mean in like 1.x, but now)
cheddargirl
Scratch Team
1000+ posts

Why didn’t Scratch add “enter”key?

medians wrote:

BluePixelLOLLL wrote:

cheddargirl wrote:

Probably a carryover from the old 1.x days when pressing the enter key was equivalent to pressing the green flag button.
You learn something new everyday
I mean, I knew that, but I thought that it still could've been added (I don't mean in like 1.x, but now)
Can’t speak for the Design or Engineering team, but Scratch is backwards-compatible, so that may have something to do with it. No one’s stopping people from making a suggestion to have it added, though (if a thread doesn’t exist for it already)
cskps-j20150
Scratcher
17 posts

Why didn’t Scratch add “enter”key?

BluePixelLOLLL wrote:

cheddargirl wrote:

Probably a carryover from the old 1.x days when pressing the enter key was equivalent to pressing the green flag button.
You learn something new everyday
nakijaki
Scratcher
1 post

Why didn’t Scratch add “enter”key?

Please bring back the interactive blocks!
LJayDaGoat
Scratcher
32 posts

Why didn’t Scratch add “enter”key?

cheddargirl wrote:

Probably a carryover from the old 1.x days when pressing the enter key was equivalent to pressing the green flag button.
but we aint in 1.x anymore so it wont hurt to add the enter key detection lol

Powered by DjangoBB