Page 66 - IT_V5.0_Class7
P. 66
Example 2: Moving a sprite to a random position at 90 degrees. Follow the given steps:
Step 1: Drag and drop the when clicked block from the Events category.
Step 2: Drag the go to block and drop it below the when clicked block.
Step 3: Drag the glide block and drop it below the go to block.
Step 4: Drag the point in direction block and drop it below the glide block.
Step 5: Drag the glide block and drop it below the point in direction block.
Step 6: Click on the Green Flag button. The sprite moves to a random position, glides for 1
second to another random position, points in the 90-degree direction, and then glides
to a final random position when the green flag is clicked.
Looks Blocks
These blocks in Scratch are used to control the appearance of the sprite. They allow the user
to change the sprite's costume, size, visibility, and other visual effects. Scratch 3.0 has 20 Looks
blocks. Out of these, three blocks for sprites also have matching versions for the Stage.
Block Explanation
Makes the sprite display a speech bubble with the specified text for
a given time duration.
Makes the sprite display a speech bubble with the specified text
indefinitely.
Makes the sprite display a thought bubble with the specified text for
a given time duration.
Makes the sprite display a thought bubble with the specified text
indefinitely.
Changes the sprite’s costume to the specified one.
Changes the sprite to its next costume in the list.
Changes the stage backdrop to the specified one.
64 Information Technology (V5.0)-VII

