Download as pdf or txt
Download as pdf or txt
You are on page 1of 5

4.3 How many steps?

ICT 3
Step 1:Starting the
program
1. Click the green flag to start
the program.
2. The sprite will go to the
center of the stage (x 0, y 0).
3. It will erase everything on the
screen (clearing any
drawings).
4. The pen will be put down on
the stage.
5. The pen size will be set to 5.
Step 2:Asking for
input
1. A question will appear: "How
many steps?"
2. Type in a number to
determine how many steps
you want the sprite to take.
3. Click "OK" or press the Enter
key to continue.
Step 3:Drawing in a
loop
1. The sprite will enter a loop that
repeats forever.
2. The pen color will change slightly (by
10 units) with each iteration,
creating a colorful effect.
3. The sprite will move forward the
number of steps you entered
earlier.
4. It will turn clockwise by 150 degrees.
Step 4:Repeating the
drawing

1. These steps (9-12) will keep


repeating, creating a beautiful and
colorful drawing on the stage.
2. To stop the drawing, you can click
the red stop button at any time.

You might also like