WEBVTT

00:00.000 --> 00:12.360
Today, we will take you through the steps of coding your backdrop to change.

00:12.360 --> 00:15.640
This exercise is divided into two videos.

00:15.640 --> 00:18.600
Let's begin with video one.

00:18.600 --> 00:25.360
Choose a sprite and two backdrops for your project that you want to code to switch on the stage.

00:25.360 --> 00:31.280
For this video, I have selected the rocket ship's bright stars backdrop and the moon backdrop.

00:31.280 --> 00:36.120
Also, I have already coded my rocket ship's bright to switch costumes so that it appears

00:36.120 --> 00:39.120
as though it is rotating through space.

00:39.120 --> 00:43.600
Once you have selected your two backdrops, click on the image of the backdrop below the

00:43.600 --> 00:46.480
stage to the right of the code area.

00:46.480 --> 00:49.480
This will allow you to code your backdrop.

00:49.480 --> 00:55.440
Please check to make sure that both backdrops you selected are available to use.

00:55.440 --> 01:00.280
To do this, click on the backdrops tab, just above the block palette to the left of your

01:00.280 --> 01:01.960
code area.

01:01.960 --> 01:06.960
You will see all selected backdrops to the left of your screen in the backdrops pane editor.

01:06.960 --> 01:11.640
Next, we want to code our backdrop to change.

01:11.640 --> 01:16.840
To do this, go back to the code tab in the top left corner above the block palette.

01:16.840 --> 01:22.400
Click and drag-o-and-green flag-clicked block from the events category onto your code area.

01:22.400 --> 01:26.520
This will tell your code to run when the green flag above the stage is clicked, or when

01:26.520 --> 01:29.400
the block itself is clicked in the code area.

01:29.400 --> 01:34.560
Next, we want to click and drag a switch backdrop to from the looks category in the block

01:34.560 --> 01:37.440
palette onto your code area.

01:37.440 --> 01:41.120
Attach this block to the when green flag-clicked block.

01:41.120 --> 01:43.720
Please continue to video two.

01:43.720 --> 01:44.720
Thanks for watching.

