Scratch Game
Beginner
60 mins
Teacher/Student led
160 points
What you need:

Embark on an exciting journey to create your own Paddle Ball Game using Scratch. Learn how to move sprites, change backdrops, and use sensing blocks. By the end of this lesson, you'll have a game to play and share with your friends. Let's get started!
Learning Goals Learning Outcomes Teacher Notes Lesson Files

### 1 - Introduction

Welcome to our exciting lesson on creating a Paddle Ball Game using Scratch! In this lesson, you will learn how to move sprites, change backdrops, and use sensing blocks. By the end of this lesson, you will have your very own Paddle Ball Game that you can play and share with your friends. Let's get started!

### 2 - Create a new Scratch project

Create a new Scratch project and delete the cat sprite that's added by default.

Drag the paddle to near the bottom of the stage area (by holding down the left mouse button and moving your mouse). Make sure to leave some space between the bottom of the stage area and the paddle (this is important later on as we'll be putting something there).

### 4 - Add the football sprite

Add the sprite called 'Soccer Ball' from the sprite library.

### 5 - Position the ball

At the game's beginning, the ball should be at the top center, set by its X and Y coordinates.

X and Y coordinates pinpoint a location on the screen. X is vertical (left-right), while Y is horizontal (up-down). The screen's center is `X:0 Y:0`. Moving right increases X, left decreases it. Moving up increases Y, down decreases it.

To position the ball at the top center (`X:0 Y:170`), add the following code to the ball sprite:

``` when green flag clicked go to x [0] y [170]```

Once you've added this code and entered the correct X and Y coordinates, click on the green flag at the top right of your screen to run the code. Your ball should go to the top center of your screen.

# Unlock the Full Learning Experience

Get ready to embark on an incredible learning journey! Get access to this lesson and hundreds more in our Digital Skills Curriculum.