Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » The Official Guide to the Scratchblocks Plugin
- 17Domin0
- Scratcher
100+ posts
The Official Guide to the Scratchblocks Plugin
When you said “curly brackets” you meant bracesSection 3 - Advanced SyntaxSUBSECTION ONE - DEVELOPING NEW BLOCKSCustom ColoringTo create custom coloring on a block, you must add a preset color or hex code after the block.
The preset colors available are the following:
- motion
- looks
- sound
- pen
- variables
- list
- events
- control
- sensing
- operators
- custom
- custom-arg
- extension
- grey
- obsolete
producescool new block::custom-argcool new block::custom-argCustom ShapesIn order to create custom shapes, you have to put one of the below types of block after two colons (::).
- hat
- stack
- ring
- boolean
- reporter
- cap
produceswhen green flag clicked::capwhen green flag clicked::capStacking Custom Colors and BlocksIf you want to have a custom shape and color of a block, you can stack the two above properties.produceswhen project ends::grey reporterwhen project ends::grey reporterCustom CTo create a custom C block, you have to use curly brackets to separate the lines.producesrepeat (forever v){
move (10) blocks
}and ever::controlrepeat (forever v){
move (10) steps
}and ever::controlSUBSECTION TWO - INSERTABLE IMAGESGreen FlagIf you want to add a Green Flag to a block, you have to type the code @greenFlag.produces<@greenFlag clicked?::control><@greenFlag clicked?::control>Input Addition and DeletionIf you want to add the symbol to delete and add inputs to a block, you have to type the codes @delInput or @addInput.producescreate variable [foo] [bar] @delInput @addInput::variablescreate variable [foo] [bar] @delInput @addInput::variablesLoop ArrowIf you want to add a loop arrow to a block, you have to type the code @loopArrow.producesif <[1]=[1]> then repeat (10){
. . .
} @loopArrow::controlif <[1]=[1]> then repeat (10){
. . .
} @loopArrow::control
This is my signature. Below a specific point, this doesn’t show. I can advertise: The main page — My profile — My most viewed project Also, here are some protectors:
((((()::#F4CE92)::#FFFFFF)::#F4CE92)::obsolete)//he can suck up kumquats, but he’s eating a vanilla donut right now because it’s his lunch breakCursed blocks:
Chompy{
(x_x)
}::operators//this guy can eat kumquats. Look, he’s eating one right now!
<[]>//this guy has sharp nails to SCRATCH those kumquats
(x_x)//a dead kumquat
start @greenFlag::eventsMy quote:
—snip—::grey
I rizzed my Skibidi Ohio
My story (which MUST be hidden):
when [17Domin0 v] [wakes up]::events hat
turn video [on/off v]
- Syedbilal321
- Scratcher
23 posts
The Official Guide to the Scratchblocks Plugin
very useful
when green flag clicked
say [Let's A Go!]
broadcast [ Let's A Go! v]
that's my Signature
- Honey_Dreamz
- Scratcher
100+ posts
The Official Guide to the Scratchblocks Plugin
This is really helping me tbh, good job on the sticky man
Hello! This is my signature!
❝ No cat that ever lived was perfect all the time. . .The trick is to learn from your mistakes and have courage to be true to your heart. ❞
Hey, I'm Honey, you can also call me Caspian or Saturn. He/him, please and thanks. I'm a Scratcher of over three years, possible future Wikian, Forum Helper, and beginner HTML/CSS/JS coder. My previous account was @warriorcatsfreakalt.
Status: In the midst of a likely unhealthy Hamilton obsession
Give me an internet | My Ocular | My Notebook
- TheCreatorOfUnTV
- Scratcher
1000+ posts
The Official Guide to the Scratchblocks Plugin
For some reason
({} @addInput)
({} @addInput)works even though it isn't a Scratch block (it's a block from λSnap!)
This is the start of my signature. Ctrl+Shift+Down to see all of it.
Check out my about me project here! (I'm allowed to advertise here)
1st post
1000th post
;
- Imakegamesalot
- Scratcher
40 posts
The Official Guide to the Scratchblocks Plugin
repeat (forever v){
eat::custom
}and ever::@loopArrow looks
I can't figure out the loop arrow someone help
(someone) please <help (me)> ?:: pen
({} @addInput)
Last edited by Imakegamesalot (Oct. 13, 2024 14:26:50)
When <finished reading::motion> my (stellar::looks) post:: hat events
say [Where is her signature?]
.(::custom) ( ::custom) .::grey
___________::custom
- okp32_2
- Scratcher
2 posts
The Official Guide to the Scratchblocks Plugin
when green flag is not clicked
forever
end
- Mariolover2024
- New Scratcher
5 posts
The Official Guide to the Scratchblocks Plugin
when green flag is not clicked
if <not happy?> then
poop
end
- Create-Scratch101
- Scratcher
100+ posts
The Official Guide to the Scratchblocks Plugin
when green flag is not clickedif <not happy?> then
poop
end
when green flag is not clicked
forever
end
@greenflag clicked?
repeat (forever v){
eat::custom
}and ever::@loopArrow looks
I can't figure out the loop arrow someone help(someone) please <help (me)> ?:: pen
({} @addInput)[/quote]
[quote=TheCreatorOfUnTV]For some reason
[code]
({} @addInput)
[/code]
[scratchblocks]
({} @addInput)
[/scratchblocks]
works even though it isn't a Scratch block (it's a block from [i]λSnap![/i])[/quote]
Please don’t test scratchblocks here!
- Ollie-Young
- Scratcher
500+ posts
The Official Guide to the Scratchblocks Plugin
repeat (forever v){
eat::custom
}and ever::@loopArrow looks
I can't figure out the loop arrow someone help(someone) please <help (me)> ?:: pen
({Pen up :: pen} @addInput)[/quote]
?
My 500th post
Scratch :: events hat
forever
imagine :: motion
program :: looks
share :: sound
end
[scratchblocks]
[scratchblocks]
when (Ollie-Young) joined :: events hat
say [Nothin] :: motion
say [Spam :(] :: looks
say [good :D] :: sounds
say [Current me :/] :: control
say [Soon] :: sensing
say [Soon] :: operators
say [Soon] :: variables
say [Soon] :: list
So, yeah :P :: yellow
[scratchblocks]
Hey guys! I'm , [url=https://scratch-mit-edu.ezproxy.canberra.edu.au/users/Ollie-Young/]Ollie-Young[/url]. I make animations and games on Scratch.
I like this: [url=https://scratchstats.com/Ollie-Young]Scratchstats[/url]
[/scratchblocks]
- hamper890
- Scratcher
3 posts
The Official Guide to the Scratchblocks Plugin
when green flag clicked
forever
create clone of
end
when I start as a clone
go to
switch costume to
Last edited by hamper890 (Yesterday 02:38:48)
- TheCreatorOfUnTV
- Scratcher
1000+ posts
The Official Guide to the Scratchblocks Plugin
Please don't test Scratch blocks here!
Last edited by TheCreatorOfUnTV (Yesterday 23:35:51)
This is the start of my signature. Ctrl+Shift+Down to see all of it.
Check out my about me project here! (I'm allowed to advertise here)
1st post
1000th post
;
- Discussion Forums
- » Help with Scripts
- » The Official Guide to the Scratchblocks Plugin