Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » Official [scratchblocks] Testing Topic 7
- Miggy6695
-
Scratcher
100+ posts
Official [scratchblocks] Testing Topic 7
pen up :: hat
stop all sounds
next costume :: cap
- Miggy6695
-
Scratcher
100+ posts
Official [scratchblocks] Testing Topic 7
move () steps
turn cw () degrees
turn ccw () degrees
point in direction ( v)
point towards [ v]
go to x: () y: (0)
go to [ v]
glide () secs to x: (0) y: (0)
change x by ()
set x to ()
change y by ()
set y to ()
if on edge, bounce
set rotation style [(x position)(y position)(direction) v]
say [] for (2) secs
say []
think [] for (2) secs
think []
show
hide
switch costume to [ v]
next costume
switch backdrop to [ v]
switch backdrop to [ v] and wait
next backdrop
change [ v] effect by (25)
set [ v] effect to (0)
clear graphic effects
change size by ()
set size to () %
go to front
go back (costume #)(size)(backdrop name)(backdrop #) layers
play sound [ v]
play sound [ v] until done
stop all sounds
play drum ( v) for (0.25) beats
rest for () beats
play note ( v) for (0.5) beats
set instrument to ( v)
change volume by ()
set volume to (volume) %
change tempo by
set tempo to () bpm
(tempo)
Last edited by Miggy6695 (March 29, 2023 00:11:18)
- windows7cr_exe
-
Scratcher
100+ posts
Official [scratchblocks] Testing Topic 7
Super Utilities extension (Utilities extension made by @Sheep_maker)
This is all I could think of.
((0) [^ v] (0) :: #3DCD3D) // Dropdowns: % of, ^, >= (greater than or equal to), <= (less than or equal to)
<[true v] :: #3dcd3d> // Dropdowns: true, false
(is [apple] [exactly v] [Apple]? :: #3dcd3d) // Dropdowns: Exactly, Not
This is all I could think of.
- horizontal_shading
-
Scratcher
1000+ posts
Official [scratchblocks] Testing Topic 7
Numberblock 23
({:: variables} {:: variables} :: extension)
({:: variables} {:: variables} :: extension)
({:: variables} {:: variables} :: extension)
({:: variables} {:: variables} :: extension)
({:: variables} {:: variables} :: extension)
({:: variables} {:: variables} :: extension)
({:: variables} {:: variables} :: extension)
({() :: variables stack} {() :: variables stack} {:: control} :: extension)
({:: variables} {:: variables} {:: control} :: extension)
({:: variables} {:: variables} {:: control} :: extension)- Aarmesh
-
Scratcher
100+ posts
Official [scratchblocks] Testing Topic 7
when april 1 [\scratchblocks\]
- Aarmesh
-
Scratcher
100+ posts
Official [scratchblocks] Testing Topic 7
stop all sounds
play sound [ v] until done
- horizontal_shading
-
Scratcher
1000+ posts
Official [scratchblocks] Testing Topic 7
Super Utilities extension (Utilities extension made by @Sheep_maker)((0) [^ v] (0) :: #3DCD3D) // Dropdowns: % of, ^, >= (greater than or equal to), <= (less than or equal to)
<[true v] :: #3dcd3d> // Dropdowns: true, false
(is [apple] [exactly v] [Apple]? :: #3dcd3d) // Dropdowns: Exactly, Not
This is all I could think of.
Here's some more:
([pi v] :: #3dcd3d) // Dropdowns: "pi", "current millisecond", "newline character"
([letters v] (5) to (7) of [red apple] :: #3dcd3d) // Dropdowns: "letters", "words"
(if <> then [banana] else [apple] :: #3dcd3d)
(if <> then [banana] else if <> then [apple] else [pear] :: #3dcd3d)
- Aarmesh
-
Scratcher
100+ posts
Official [scratchblocks] Testing Topic 7
hidebbbbb[scratchblocks]
stamperssxxs
delete cuh
stamprr[scratchblocks]
when ccw clicked
[/scratchblocks]
[/scratchblocks]
delete a baby
[/scratchbabys]
Last edited by Aarmesh (March 29, 2023 00:51:23)
- horizontal_shading
-
Scratcher
1000+ posts
Official [scratchblocks] Testing Topic 7
Makey Makey Plus extension
Someone should make an extension like this
when [space] key [pressed v] :: pen hat // Dropdowns: "pressed", "released"
when [left up right] pressed in order :: pen hat
<key [space] pressed? :: pen>
<keys [space] and [enter] pressed at once? :: pen>
(last key pressed :: pen)
(keys pressed at once :: pen)
while [space] key pressed {
} @loopArrow :: pen
Someone should make an extension like this

- apanageotes
-
Scratcher
89 posts
Official [scratchblocks] Testing Topic 7
when Minecraft world joined::hat eventsMinecraft Code in Scratch
set [POV v] to (90)::extension
set position to (35) (0) (-178)::motion
when player/entity health = (0)::hat events
send in chat: [A player/entity has been died.]::extension
- codderkid12
-
Scratcher
100+ posts
Official [scratchblocks] Testing Topic 7
Forever{} :: controlstop [ all v] :: stack
stop [ this script v] :: stack
stop [ other scrips in sprite v]
if <> then{when green flag clicked}else{when green flag clicked} :: controldefine :: hat
define :: reporter
define :: boolean
define :: cap
define :: stack
Custom block :: custom :: hat
Custom block :: custom :: cap
Custom block{} :: custommotion :: motion
looks :: looks
sound :: sound
events :: control
control :: events
sensing :: sensing
operators :: operators
variables :: variables
list :: list
my blocks
CURSED BLOCKS
- Dragos1109
-
Scratcher
45 posts
Official [scratchblocks] Testing Topic 7
This is how to crash Scratch:
when green flag clicked
create clone of [myself v]
when I start as a clone
create clone of [myself v]
delete this clone
- medians
-
Scratcher
1000+ posts
Official [scratchblocks] Testing Topic 7
Oh my god I thought it said More Blocks..my blocks
Also, you can add ::custom to the end to make it the More Blocks category.
- bluefacescar
-
Scratcher
100+ posts
Official [scratchblocks] Testing Topic 7
data blocks
(foo)
(☁ score)
set [foo v] to [0]
change [foo v] by (0)
show variable [foo v]
hide variable [foo v]
(list :: list)
add [thing] to [list v]
delete (1 v) of [list v]
insert [thing] at (1 v) of [list v]
replace item (1 v) of [list v] with [thing]
(item (1 v) of [list v] :: list)
(length of [list v] :: list)
<[list v] contains [thing] ?>
show list [list v]
hide list [list v]
- bluefacescar
-
Scratcher
100+ posts
Official [scratchblocks] Testing Topic 7
my boolean block
<boolean :: custom>
- bluefacescar
-
Scratcher
100+ posts
Official [scratchblocks] Testing Topic 7
Text To Speech Extension!
speak [hello] :: pen
set voice to [alto v] :: pen
set language to [English v] :: pen








