Professional Documents
Culture Documents
Comp6-Module2 - 2ndquarter
Comp6-Module2 - 2ndquarter
Comp6-Module2 - 2ndquarter
Expected Outcomes
Questions to Ponder
Grade 6- Computer 47
Module 2- Using Motion Commands
The Concepts
Moving Sprites
1. Click File/New to create a new project and enter a project name of Square.
2. From the Events menu, drag a when green flag clicked block to the scripts
area. Your scripts area should look like this:
3. From the Motion menu, drag a go to x: 0 y: 0 block to the scripts area and
snap it to the bottom of the when green flag clicked block. Your script should
look like this:
4. Add a move 100 steps block to the bottom of your script and change the
10 to 100.
5. Click the green flag at the top right corner of the stage to run your program.
Let’s look at what happened:
When green flag clicked block tells Scratch that the other blocks in the
script are to be executed at the start of the program — that is, when the
green flag is clicked.
The go to x: 0 y: 0 block tells Scratch to move the sprite — that’s the cat,
which is what you’re writing instructions for — to the coordinates (0, 0). The
stage has a coordinate system with (0, 0) in the center, x values ranging from
–240 to +240, and y values ranging from –180 to +180
Grade 6- Computer 48
Module 2- Using Motion Commands
2. Add more blocks until you have four moves/turn pairs in your script
3. Run your program. The sprite moved in a square, but so quickly that you
couldn’t see it. You can fix that by adding wait 1 secs blocks from the
Control menu to the stack
Grade 6- Computer 49
Module 2- Using Motion Commands
4. Run your program again. If your sprite is too slow, you can always change
the wait time.
Move and Turn are relative motion commands. It is important to understand how
Scratch uses directions to move a sprite using the point in direction command. In
Scratch, up direction is equivalent to 0, right is 90, left is -90 and down is 180.
Try the change x and change y motion! Check out the output!
Grade 6- Computer 50
Module 2- Using Motion Commands
Criteria:
Accuracy – 10points Promptness – 5 points Total points: 15 pts.
References:
Fontanilla, Aimee, Theresa A., et. al (2017). Digi titans 6 ICT Essential for the
Future. Tec Factor Inc.
http://www.rpbourret.com/scratch/Bourret-ScratchProgramming.pdf
Grade 6- Computer 51