Page 82 - ThinkGPT_V2.1_C3_Flipbook
P. 82
Setting the Sprite Position
The stage is divided into different values of x and y. Each dot on the stage is made up of
both x and y values. The value of x gives the horizontal (left to right) location of the Sprite.
The value of y gives the vertical (top to bottom) location of the Sprite. The centre of the
stage has x and y values as 0.
block helps you to fix the position of the Sprite at the beginning of a script.
Sometimes due to some scripts, the Sprite goes beyond the stage. This block helps to bring
the Sprite to the desired location.
Programs in Scratch
Arrange the blocks to create the following scripts for the cat and the ball Sprites, and then
run the script.
Creating a New Project
To start working in Scratch, we first need to create a new project. Follow the given steps to
create a new project:
1 Click on File tab.
2 Select New.
80 Premium Edition-III

