Page 114 - 2611_SmartGPT Pro V(5.0) C-4
P. 114
Code for Step 2 Code for Step 3
when clicked
glide 1 secs to x: 100 y: 50 when clicked
repeat 10
move 30 steps
wait 1 seconds
say Hello Everyone! for 2 seconds
change size by -10 move 30 steps
say I have seen a flying Dragon for 2 seconds
Hashtag
#Relational: Connection between two or more things
#Repeat: To say, write or do something again or more than once
REVISIT
Programming languages contain a set of instructions that a computer follows to complete a task.
Motion blocks are used to control the movement of a Sprite.
Events block controls how the blocks in a script will start to run, if a particular action is done.
Pen blocks provide a trail for the sprite and give instructions to change.
We can draw square, rectangle and other shapes using pen block.
Forever block is used to make the sprite do something infinitely (nonstop) until a command is passed
over it by the user.
We can work with more than one sprite together in Scratch.
112 Computer Science (V5.0)-IV

