Introduction
Introduction
With mBlock, children can not only create games and animations by
dragging blocks or using Python code, but can also code robots or
boards to do anything they can imagine. And mBlock
exposes children to cutting-edge technologies, allowing children to
create projects with technologies like AI and IoT. Moreover, in the
mBlock Community, children are able to share projects and learn
from the like-minded.
What is mBlock:
mBlock is a STEAM programming software tool designed for programming for kids. ...
With mBlock, children can not only create games and animations by dragging blocks or using
Python code, but can also code robots or boards to do anything they can imagine.
Block Reference
The area shown in the red box is the Blocks area. It contains various types of blocks for
programming. You can have more fun with programming after understanding the
function of each block.
Block Shapes
Scratch programming blocks are designed in different shapes, which can be connected
to each other vertically like a jigsaw puzzle. Scripts are created by series of connected
blocks. Each data type has its own shape and a specially shaped slot. There are five
shapes of blocks:
Hat Blocks: A Hat Block is used to start the script, and is always placed on top of
other blocks. The following is the general shape of a Hat Block.
Each hat block uses its own way to activate a script, and therefore different scripts can
be executed at different time points.
Stack Blocks: A Stack Block is a rectangular block that can fit above or below other
blocks, with a notch at the top and a bump on the bottom. A typical Stack Block
looks like this:
Stack blocks are used to execute the main commands, and therefore are the majority
amount all the blocks.
Reporter Blocks: Each Reporter Block contains a value that can be a numerical
value or character string. The following is the general shape of a Reporter Block.
A Reporter block can be used in any script that requires data but cannot be used
independently. A Reporter block can be fit into another as long as the slots fit.
Boolean Blocks: A Boolean Block contains a condition, which can be either "true"
or "false". A typical Boolean Block is an elongated hexagon as shown in the
following:
A Boolean block must be put into the hexagonal slot of another block, and therefore
cannot be used independently.
Cap Blocks: A Cap Block ends a script or project. It can be put only under all blocks.
The following is the general shape of a Cap Block.