If you are looking for software to use, go to Huajun Software Park! software release
Location: front pageTutorial strategyTutorialComputer software tutorials scratch since...

How to customize scratch blocks

Author: Xiaoxin Date: 2019-11-22

Scratch
Scratch-3.29.1 Chinese offline installation-free version

programming tools Storage: 161.25MB Time: 2022-05-25

Software introduction: Scratch is a suggested graphical programming tool designed by a small team at MIT for children aged 8 to 16 years. But also suitable for all ages...

Download now

It is estimated that many friends are not familiar with the operation of scratch custom building blocks, and the editor below will explain how to customize scratch building blocks. I hope it will be helpful to you.

Open the scratch software, create a new "pencil" character, and set the shape center of the pencil to the tip;

1.png

In the building block area, click - More Building Blocks - to create new building blocks;

2.png
3.png

Fill in the name of the building block and add parameters to the building block. There are four parameters that can be added, namely: numeric type, string type, Boolean value, and text. Add numeric type here;

4.png

At this time, new building blocks are newly produced, and scripts need to be added to the new building blocks;

5.png

Then add a script to the new building block so that the new building block has the function of drawing squares;

6.png

Through the brush script, the new customized script can be reflected; parameters can be entered for the new script;

7.png
8.png

Finally, the new building blocks are formulated, and they can be used in other scripts like other building blocks in the future. It can be seen that custom building blocks can still make the script clearer;

9.png

Above, I have shared with you how to customize scratch’s building blocks. Friends in need should hurry up and read this article.

Related articles