Discuss Scratch

UndertaleNate
Scratcher
5 posts

New if key blocks

I want keys for the if key block like enter and ;
KangaCoder
Scratcher
1000+ posts

New if key blocks

Well, enter is already available as a hacked block. I'm not sure about others like “ ; ”. In general, no support, this wouldn't really be helpful in anyway, just provide something more to non-mobile users.

don't feed the trolls. feed yourself pizza cupcakez .[1] [2] [3] [4]









KangaCoder • [he/him] • kæŋɡəˈ koʊdər

Random Fun Facts: Male, Christian, US resident, EST time zone, Ravenclaw, likes Math and Science, learning German, knows HTML, Python and Java, loves chocolate, favorite color, possibly a kangaroo
On the Main Site: Experienced Wikian, Camp Counselor, SWC Reviewer, SDS Helper, Forum Helper
On the Forums: 2.65K+ forum posts
Project Ideas Directory 6.0 - need a project idea? Check it out!
Check out some weird and cool Scratch pages!
ScratchCat1038
Scratcher
1000+ posts

New if key blocks

Use this:
key (join [enter] []) pressed

shift+down to scroll
GIVE AN INTERNET
so i can feed my family


“if on edge, bounce” block visualization

oh, so you drink water?
describe the flavor without using the word “water”
TerrariaMods
Scratcher
100+ posts

New if key blocks

UndertaleNate wrote:

I want keys for the if key block like enter and ;
You can find HACKED blocks like
<key [enter v] pressed?>
here: https://scratch.mit.edu/projects/411270709/

Goal: 1k Posts
25.8%







































































































Chiroyce
Scratcher
1000+ posts

New if key blocks

Just use

when green flag clicked
set [Key v] to [;] // set this to any key you want, the enter key will be "enter"
forever
if <key (key) pressed?> then
say (join [You pressed ] (Key))
end
if <not <key [any v] pressed?>> then
say [You're not pressing any key.]
end
end

Last edited by Chiroyce (May 4, 2021 11:17:21)








April Fools' topics:
New Buildings in Scratch's headquarters
Give every Scratcher an M1 MacBook Air
Scratch should let users edit other Scratchers' projects
Make a statue for Jeffalo
Scratch Tech Tips™
Make a Chiroyce statue emoji


<img src=“x” onerror=“alert('XSS vulnerability discovered')”>

this is a test sentence
PkmnQ
Scratcher
1000+ posts

New if key blocks

Chiroyce wrote:

Just use

when green flag clicked
set [Key v] to [;] // set this to any key you want, the enter key will be "enter"
forever
if <key (join (Key) []) pressed?> then
say (join [You pressed ] (Key))
end
if <not <key [any v] pressed?>> then
say [You're not pressing any key.]
end
end
If you're using a variable, you don't need the join block.

This is an account that exists.

Here, have a useful link:
The Official List of Rejected Suggestions by Za-Chary

Chiroyce
Scratcher
1000+ posts

New if key blocks

PkmnQ wrote:

If you're using a variable, you don't need the join block.
Thanks, I've updated it.







April Fools' topics:
New Buildings in Scratch's headquarters
Give every Scratcher an M1 MacBook Air
Scratch should let users edit other Scratchers' projects
Make a statue for Jeffalo
Scratch Tech Tips™
Make a Chiroyce statue emoji


<img src=“x” onerror=“alert('XSS vulnerability discovered')”>

this is a test sentence
UndertaleNate
Scratcher
5 posts

New if key blocks

THATS A RICKROLL

k7e
Scratcher
1000+ posts

New if key blocks

UndertaleNate wrote:

THATS A RICKROLL

If you’re referring to @Chiroyce’s post, then it is just their signature, not part of the post. You can set your own by going to this link, scrolling all the way down, and pressing “Change your signature”.

and by the way i got rickrolled

@mythoslore was so much more obvious than @spookily

Powered by DjangoBB