Page 84 - iPro_trackGPT_V5_Class6
P. 84
Some of the common categories of blocks are Motion, Looks, Sound, Events, Control, Sensing,
Operators, Variables, My Blocks and Pen.
Block category Use
These blocks control how sprites move and change their positions on the
Motion stage.
These blocks modify the appearance of sprites, including changes in
Looks costumes, text, and visual effects.
These blocks handle audio playback, allowing you to play sounds and
Sound manage sound effects within your project.
These blocks respond to specific triggers, such as clicking the green flag or
Events pressing a key, to start actions in your script.
These blocks manage the execution flow of your script, including loops,
Control conditional statements, and pauses.
These blocks detect interactions and conditions, such as whether a sprite is
Sensing touching a specific colour or another sprite.
These blocks perform mathematical calculations, comparisons, and logical
Operators operations to process data and control your script.
These blocks are used to create and manage variables, which store and
Variables manipulate data throughout your project.
These blocks allow you to create custom blocks that define your own set of
My Blocks instructions for reusable code.
USE OF CONDITIONAL CONTROL BLOCKS
Many times, tasks need to be performed based on specific conditions. For instance, suppose you
need to prepare a beverage. There are two possible scenarios:
Check if there are strawberries in the fridge. If strawberries are available, you will make a
strawberry smoothie.
If strawberries are not available, you will make a hot chocolate instead.
In this case, the condition is whether or not strawberries are present. This situation can be
expressed in two ways:
82 TrackGPT iPRO (V5.0)-VI

