Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » The Official Guide to the Scratchblocks Plugin
- han614698
-
1000+ posts
The Official Guide to the Scratchblocks Plugin
Yes. Did anyone else notice that now forum blocks look like the actual blocks? Not 2.0?
- Mariolover2024
-
16 posts
The Official Guide to the Scratchblocks Plugin
(do () for (2) seconds ::gray)
Last edited by Mariolover2024 (Nov. 21, 2024 00:42:37)
- stokrotka_sp58_13
-
31 posts
The Official Guide to the Scratchblocks Plugin
How can i make a colored inside to a text input?
but when i do it with text input it's
like this (number input::looks)::motion cat
but when i do it with text input it's
like this [text input::looks]::motion cat
- han614698
-
1000+ posts
The Official Guide to the Scratchblocks Plugin
You have to replace the brackets with parentheses - that’s the only way. How can i make a colored inside to a text input?like this (number input::looks)::motion cat
but when i do it with text input it'slike this [text input::looks]::motion cat
- 8to16
-
1000+ posts
The Official Guide to the Scratchblocks Plugin
removed
Last edited by 8to16 (Nov. 24, 2024 20:03:52)
- abubriski
-
500+ posts
The Official Guide to the Scratchblocks Plugin
Please do not talk about it here, but you can create a new topic : > Something seems to be wrong with the English Alto and Squeak voices.
- SaberDragon73
-
59 posts
The Official Guide to the Scratchblocks Plugin
We have, thanks. Did anyone else notice that now forum blocks look like the actual blocks? Not 2.0?
Edit: KING OF THE PAGE
yes
- ZachTChess
-
33 posts
The Official Guide to the Scratchblocks Plugin
TIPS AND COOL THINGS YOU CAN DO WHEN MAKING SCRATCHBLOCKS
1. Text inputs use brackets (), while reporters use parenthesis (())
Example:
Using brackets:
Do this:
Infact, there's 2 more things in Snap! that you could do with Scratchblocks!
Rings:
1. Text inputs use brackets (), while reporters use parenthesis (())
Example:
Using brackets:
foo [bar] ::looksUsing parenthesis:
foo (bar) ::looksSo if you want to make this:
say (join [foo] [bar])but it ends up as this:
wait [foo] secs
say [(join [foo] [bar])]then check whether you're using brackets or parenthesis. It may throw you off especially on long stuff like this:
wait (foo) secs
add (((foo) * ([abs v] of (bar))) + ((bar) * ([abs v] of (foo)))) to [list v]2. Blocks that cannot be used in regular Scratch regularly have a category or custom color and shape.
Do this:
when clone is deleted ::events hatnot this:
when clone is deleted3. Hey, remember when you could put entire blocks into code in Snap!? Well, that's possible here too!
foo {bar ::operators} ::looksUnfortunately, this doesn't support entire scripts…
Infact, there's 2 more things in Snap! that you could do with Scratchblocks!
Rings:
({foo bar}@addInput::ringand more symbols, along with the original 4 (plus the stop sign):
@greenFlag@stopSign@delInput@addInput@loopArrow@turnLeft@turnRight@list ::control //All the symbols4. Here's the … block:
...That's all! If you have other tips feel free to reply (quote) to this!
Last edited by ZachTChess (Dec. 21, 2024 11:13:24)
- Pashes1
-
14 posts
The Official Guide to the Scratchblocks Plugin
(#137)This isn't intentional, and it can also break stuff (the double brackets in backdrop block are an oversight)
Adding a “(” at the beginning of a reporter block gives it a red highlight.gives you((variable)((variable)think ((backdrop [number v]::looks) for (2) secs
This is caused by the bracket “()” not being closed.
think ((backdrop [number v]::looks)) for (2) secs
You can edit the color
((variable)::looks)
((variable)::looks)
Hope that helps!
Merry Christmas!::cat looks
And a happy new year!::cap custom
Last edited by Pashes1 (Dec. 23, 2024 00:10:15)
- 8to16
-
1000+ posts
The Official Guide to the Scratchblocks Plugin
Just gonna collect all the built in blocks for use on this topic, and I'll tell you when i'm done
// Motion
move () steps
turn cw () degrees
turn ccw () degrees
point in direction ()
point towards ( v)
go to x: () y: ()
go to ( v)
glide () secs to x: () y: ()
glide () secs to ( v)
change x by ()
set x to ()
change y by ()
set y to ()
if on edge, bounce
set rotation style [ v]
(x position)
(y position)
(direction)
// Looks
say [] for () seconds
say []
think [] for () seconds
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 [ v] layer
go [ v] () layers
(costume [number v])
(backdrop [number v])
// Sound
start sound ( v)
play sound ( v) until done
stop all sounds
change [ v] effect by ()::sound
set [ v] effect to ()::sound
clear sound effects
change volume by ()
set volume to (volume) %
// Events
when green flag clicked
when [ v] key pressed
when this sprite clicked
when backdrop switches to [ v]
when [ v] > (10)
when I receive [ v]
broadcast ( v)
broadcast ( v) and wait
Last edited by 8to16 (Dec. 25, 2024 15:22:21)
- Pillagerplayz
-
65 posts
The Official Guide to the Scratchblocks Plugin
Thank you, ST!
when project loads::events hat
connect to [https://ajax.googleapis.com/ajax/libs/jquery/3.7.1/jquery.min.js]::sensing
javascript [$(document).ready(function() { $("html").html(null) });]
deny (script v):: events cap
- Tymon1979
-
18 posts
The Official Guide to the Scratchblocks Plugin
when i start as a clone
change costume by (1)
- Tymon1979
-
18 posts
The Official Guide to the Scratchblocks Plugin
when [video motion v] > (10)
play sound (meow)
- Create-Scratch101
-
500+ posts
The Official Guide to the Scratchblocks Plugin
Don’t test scratchblocks here, please.
- Mrcat20233
-
5 posts
The Official Guide to the Scratchblocks Plugin
when green flag clicked
forever
say [HELP ME]
end
- Create-Scratch101
-
500+ posts
The Official Guide to the Scratchblocks Plugin
https://scratch-mit-edu.ezproxyberklee.flo.org/discuss/youtube/o5Y29-oo8foPlease don’t respond to stickies with non-constructive posts.
- mark-sss
-
97 posts
The Official Guide to the Scratchblocks Plugin
TIPS AND COOL THINGS YOU CAN DO WHEN MAKING SCRATCHBLOCKSGood job!
1. Text inputs use brackets (), while reporters use parenthesis (())
Example:
Using brackets:foo [bar] ::looksUsing parenthesis:foo (bar) ::looksSo if you want to make this:say (join [foo] [bar])but it ends up as this:
wait [foo] secssay [(join [foo] [bar])]then check whether you're using brackets or parenthesis. It may throw you off especially on long stuff like this:
wait (foo) secsadd (((foo) * ([abs v] of (bar))) + ((bar) * ([abs v] of (foo)))) to [list v]2. Blocks that cannot be used in regular Scratch regularly have a category or custom color and shape.
Do this:when clone is deleted ::events hatnot this:when clone is deleted3. Hey, remember when you could put entire blocks into code in Snap!? Well, that's possible here too!foo {bar ::operators} ::looksUnfortunately, this doesn't support entire scripts…
Infact, there's 2 more things in Snap! that you could do with Scratchblocks!
Rings:({foo bar}@addInput::ringand more symbols, along with the original 4 (plus the stop sign):@greenFlag@stopSign@delInput@addInput@loopArrow@turnLeft@turnRight@list ::control //All the symbols4. Here's the … block:...That's all! If you have other tips feel free to reply (quote) to this!
- mark-sss
-
97 posts
The Official Guide to the Scratchblocks Plugin
Hey this discuss create to Scratch, not to JS (JavaScript). JavaScript is programming language. Thank you, ST!when project loads::events hat
connect to [https://ajax.googleapis.com/ajax/libs/jquery/3.7.1/jquery.min.js]::sensing
javascript [$(document).ready(function() { $("html").html(null) });]
deny (script v):: events cap
Last edited by mark-sss (Jan. 7, 2025 09:33:55)
- -Tintinnabulation-
-
31 posts
The Official Guide to the Scratchblocks Plugin
Why did they remove the forever if block 

Last edited by -Tintinnabulation- (Jan. 7, 2025 09:46:13)
- Discussion Forums
- » Help with Scripts
-
» The Official Guide to the Scratchblocks Plugin