Discuss Scratch

voldechuck
Scratcher
100+ posts

Making an "Enter" key.

How do I make it where if I press “enter” it will do something? Here's an example of what I mean: https://scratch.mit.edu/projects/24493172/#player
Th3_C0d3r
Scratcher
100+ posts

Making an "Enter" key.

Your going to need to use a, “Hack block” to detect that.
https://scratch.mit.edu/projects/19199766/#player

-Scratch On!
marioman57
Scratcher
2 posts

Making an "Enter" key.

forever
if <<key [enter > then
end
end
end

Last edited by marioman57 (Dec. 21, 2021 02:50:28)

ThatCoder77471
Scratcher
1000+ posts

Making an "Enter" key.

you don't need a hacked block. just do
<key (join [enter] []) pressed?>
it works. i use it in some of my games

edit: i had no idea this post was so old. i just assumed it was new because it was at the top and it had little replies

Last edited by ThatCoder77471 (Dec. 21, 2021 03:15:18)

Powered by DjangoBB