Discuss Scratch
- Discussion Forums
- » Questions about Scratch
- » How to use a scratch block?
- FloralAnimator
-
500+ posts
How to use a scratch block?
Its mainly to show a script,like
Its used to explain a script.
Used mainly in the suggestions/advance topics/or help with scripts forums.
Its used to explain a script.
Used mainly in the suggestions/advance topics/or help with scripts forums.
- p-p-p-p-p-p-p-p-p-p-
-
1000+ posts
How to use a scratch block?
Are you asking about Scratch blocks in general? In that case I have 2 solutions.
1:
Welcome to scratch! Here is a little tutorial to the blocks.
A. Event blocks.
Event blocks look like this:
B. script code.
These are just blocks that do things. they often look like this:
C. Inputs.
Inputs look like this:
D. booleans
booleans look like this:
You can also use the Help with scripts forum for more help. Thank you for reading!
1:
Welcome to scratch! Here is a little tutorial to the blocks.
A. Event blocks.
Event blocks look like this:
These blocks start off a line of code. You can see that you can't place anything above.
B. script code.
These are just blocks that do things. they often look like this:
They initiate a function.
C. Inputs.
Inputs look like this:
They return a value. They can be variables too. variables can be easily changed. they only fit in () parts of the script code.
D. booleans
booleans look like this:
They only have 2 outputs, true and false. they can be used in <> spaces.
You can also use the Help with scripts forum for more help. Thank you for reading!
- -InsanityPlays-
-
1000+ posts
How to use a scratch block?
you place it on a redstone block and it activates
To use a scratch block, you need to drag it on a script starting with an event block. For example:
You can also click the block.
To use a scratch block, you need to drag it on a script starting with an event block. For example:
will move the sprite to the middle when the green flag is clicked.
You can also click the block.
- fdreerf
-
1000+ posts
How to use a scratch block?
Guys, considering they already have 2 projects, I think they know how to use the coding interface.
- xXRedTheCoderXx
-
1000+ posts
How to use a scratch block?
Are you asking about the pink custom blocks?


- Orangeswing6400-pear
-
20 posts
How to use a scratch block?
YES! Are you asking about the pink custom blocks?
- Orangeswing6400-pear
-
20 posts
How to use a scratch block?
I mean the pink weird custom blocks Guys, considering they already have 2 projects, I think they know how to use the coding interface.
I don't know why but scratch needs to update their forum blocks but you know what i am talking about
Last edited by Orangeswing6400-pear (Oct. 4, 2020 01:50:40)
- Wyan100
-
1000+ posts
How to use a scratch block?
Oh so you want to know how Custom Blocks work!
Allow me to explain:
Basically there the same as “broadcast and wait” blocks except for 2 things, the First thing is that there's a feature that lets you make a Custom Block “Run without Screen Refresh” which means that the things inside the block will happen instantly. The second thing is that when you are making the block you can add Reporters and Booleans, which you fill with blocks and then can be used many times over in the Script underneath the Custom Block. Example:
Allow me to explain:
Basically there the same as “broadcast and wait” blocks except for 2 things, the First thing is that there's a feature that lets you make a Custom Block “Run without Screen Refresh” which means that the things inside the block will happen instantly. The second thing is that when you are making the block you can add Reporters and Booleans, which you fill with blocks and then can be used many times over in the Script underneath the Custom Block. Example:
- Vanilla2011
-
500+ posts
How to use a scratch block?
So for example, if you want to make a project that repeatedly makes the sprite jump, instead of doing this every time:
Don't worry, I used to misunderstand these blocks too when I was a new Scratcher
you could just do this:
And don't forget to define it!(You only need to define it one time)
If you still don't understand, maybe this link can help.
Don't worry, I used to misunderstand these blocks too when I was a new Scratcher

Last edited by Vanilla2011 (Oct. 4, 2020 05:42:37)
- Orangeswing6400-pear
-
20 posts
How to use a scratch block?
I do not get the example part like the foo part Oh so you want to know how Custom Blocks work!
Allow me to explain:
Basically there the same as “broadcast and wait” blocks except for 2 things, the First thing is that there's a feature that lets you make a Custom Block “Run without Screen Refresh” which means that the things inside the block will happen instantly. The second thing is that when you are making the block you can add Reporters and Booleans, which you fill with blocks and then can be used many times over in the Script underneath the Custom Block. Example:
- Orangeswing6400-pear
-
20 posts
How to use a scratch block?
The custom blocks are complicated but also i am also making my own project!
- Wyan100
-
1000+ posts
How to use a scratch block?
The custom blocks are complicated but also i am also making my own project!
If you still don't understand then I would recommend making a New Project experimenting with the Blocks yourself

Last edited by Wyan100 (Oct. 5, 2020 01:30:01)
- MrFluffyPenguins
-
1000+ posts
How to use a scratch block?
When you create a custom block, you will get this in your coding area:
Place blocks under the “define” block like this:
Is that helpful?
Place blocks under the “define” block like this:
Then, you can use the block in the “My Blocks” section like this:
Then, when activated, the sprite would move 10 steps.
Is that helpful?
Last edited by MrFluffyPenguins (Oct. 5, 2020 17:52:05)
- Discussion Forums
- » Questions about Scratch
-
» How to use a scratch block?