Page 84 - iPro_trackGPT_V5_Class5
P. 84
2 Choose a
desired category.
3 Select a backdrop
you want to use.
SCRATCH BLOCKS
Blocks in Scratch are shaped like puzzle pieces and are used to create code. They
connect vertically similar to a jigsaw puzzle. To use a block, select it and drag it
into your scripts area. To add more blocks to your script, drag them to the desired
position, either above or below existing blocks.
These blocks are organised into different categories, which you can find under the
Code tab.
Motion Blocks
They are colour-coded blue and control the sprite's movement. Clicking on the
Motion button will show the programming blocks that help you adjust the sprite’s
position, direction, rotation, and movement. Let us add some code to your sprites.
Click on the block in the Script area to make your sprite move 50 pixels to the right
(toward the sprite's front). To do so, follow the given steps:
3 Drag and drop the move 10 steps block to coding area.
1 Click on the
Code tab.
2 Click on the
Motion block.
4 Change the “10” to “50” by clicking on the text box and typing 50.
82 TrackGPT iPRO (V5.0)-V

