Computer Science
Grade 1
20 min
Moving Characters
Moving Characters
Tutorial Preview
1
Introduction & Learning Objectives
Learning Objectives
Identify a 'character' or 'sprite' on the screen.
Select movement blocks (up, down, left, right).
Create a simple sequence of two or more movement blocks.
Use a 'start' block to run their code.
Predict the character's path based on a short block sequence.
Arrange blocks to move a character to a target.
Have you ever wanted to make a cartoon character move? 🐾 Let's learn how!
We will learn to use special blocks to give instructions. These instructions will tell our character where to go. It's like being the director of your own movie! 🎬
Real-World Applications
Making characters move in video games 🎮
Telling a robot toy where to drive 🤖
Creating your own animated cartoons 📺
Making a storybook char...
2
Key Concepts & Vocabulary
TermDefinitionExample
Character (or Sprite)A picture on the screen that we can move. 🖼️A cat, a dog, a car, or a bouncing ball.
BlockOne instruction for our character, like a puzzle piece. 🧩A 'move right' block tells the character to go right.
Code (or Script)A set of blocks connected together to give many instructions. 📜Connecting three 'move up' blocks to make a rocket fly high.
SequencePutting blocks in the correct order to do something. ➡️First, move right. Second, move up. The order matters!
RunTelling the computer to read our code and make the character move. ▶️Clicking the green flag to start the character's actions.
DirectionThe way a character is told to move. 🧭Up, down, left, or right.
3
Core Syntax & Patterns
The Start Block Rule
Every set of code needs a 'start' block on top.
Use a 'When Green Flag Clicked' 🟢 block so the computer knows when to begin.
The Stacking Rule
Blocks snap together from top to bottom.
The computer reads your code from the top block to the bottom block, one at a time.
4 more steps in this tutorial
Sign up free to access the complete tutorial with worked examples and practice.
Sign Up Free to ContinueSample Practice Questions
Challenging
A frog 🐸 is at the bottom-left corner. A fly 🦟 is at the top-right corner. Which code gets the frog closest to the fly? (Assume each move is one step).
A.[Move Right ➡️] → [Move Right ➡️] → [Move Right ➡️]
B.[Move Up ⬆️] → [Move Up ⬆️] → [Move Up ⬆️]
C.[Move Left ⬅️] → [Move Down ⬇️]
D.[Move Right ➡️] → [Move Up ⬆️] → [Move Right ➡️]
Challenging
Your code is [Repeat 4 times: Move Right ➡️]. But there is a wall 🧱 after 2 steps. What will the character do?
A.It will move right 4 times and go through the wall.
B.It will move right 2 times, hit the wall, and stop there.
C.It will move right 2 times, then jump over the wall.
D.It will not move at all because it sees the wall.
Challenging
To make a character move in a square shape and come back to the start, which set of moves would you need to repeat?
A.Up, Right, Down, Left
B.Up, Up, Down, Down
C.Right, Left, Right, Left
D.Up, Down, Up, Down
Want to practice and check your answers?
Sign up to access all questions with instant feedback, explanations, and progress tracking.
Start Practicing Free