Computer Science Grade 3 20 min

Motion Blocks

Motion Blocks

Tutorial Preview

1

Introduction & Learning Objectives

Learning Objectives Identify and describe the purpose of at least five different Motion blocks. Use the 'move' and 'turn' blocks to make a sprite navigate the Stage. Explain what X and Y coordinates are and use the 'go to x: y:' block to place a sprite at a specific location. Combine Motion blocks with an 'event' block (like 'when green flag clicked') to start a script. Use the 'if on edge, bounce' block to prevent a sprite from leaving the screen. Create a simple animation of a sprite moving continuously using a 'forever' loop and Motion blocks. Have you ever wanted to make a character in a story walk, fly, or dance? 🚀 With Motion blocks, you are the director of your own cartoon! In this lesson, we will...
2

Key Concepts & Vocabulary

TermDefinitionExample SpriteA character or object on the screen that you can program. The Scratch Cat is the default sprite.If you are making a game about a fish, the fish is your sprite. StageThe background of your project where the sprites live and move around.The Stage can be a forest, an underwater scene, or just a plain white background. Motion BlocksThe set of dark blue blocks in Scratch that control a sprite's movement, like moving, turning, and gliding.The 'move 10 steps' block is a Motion block. ScriptA stack of code blocks that are connected together. A script tells a sprite what to do.Clicking a 'when green flag clicked' block on top of a 'move 10 steps' block creates a simple script. X and Y CoordinatesAn address for every spot on the Stage....
3

Core Syntax & Patterns

Event-Driven Motion Event Block + Motion Block(s) To make a sprite move, you almost always start with an Event block (from the yellow category), like 'when green flag clicked'. Snap your blue Motion blocks underneath it to tell the sprite what to do when that event happens. Continuous Motion Pattern forever { Motion Block } If you want a sprite to move over and over without stopping, place the Motion blocks inside a 'forever' loop (from the orange Control category). This is great for making a character walk continuously. Boundary Check Pattern if on edge, bounce This is a special Motion block that acts like a conditional. Place it inside a 'forever' loop with a 'move' block to make a sprite turn around when it hits the edge of...

4 more steps in this tutorial

Sign up free to access the complete tutorial with worked examples and practice.

Sign Up Free to Continue

Sample Practice Questions

Challenging
You want a sprite to move back and forth across the screen forever, like a guard on patrol. Which combination of blocks is essential to make this happen?
A.'forever' loop, a 'move' block, and an 'if on edge, bounce' block.
B.'go to x: y:' block and a 'wait' block.
C.'repeat 10' loop and a 'turn' block.
D.'when space key pressed' event and a 'glide' block.
Challenging
To make a sprite move in a perfect circle without stopping, which two Motion blocks would you put inside a 'forever' loop?
A.'change x by 5' and 'change y by 5'
B.'move 5 steps' and 'turn 5 degrees'
C.'go to random position' and 'turn 15 degrees'
D.'glide 1 sec to x:0 y:0' and 'move 10 steps'
Challenging
In a game, you have a 'Player' sprite and a 'Target' sprite. Which single Motion block can make the 'Player' sprite aim perfectly at the 'Target' sprite, no matter where the target moves?
A.point in direction 90
B.go to Target
C.point towards Target
D.turn 180 degrees

Want to practice and check your answers?

Sign up to access all questions with instant feedback, explanations, and progress tracking.

Start Practicing Free

More from Programming with Scratch

Ready to find your learning gaps?

Take a free diagnostic test and get a personalized learning plan in minutes.