WEBVTT

00:00.000 --> 00:11.760
Today, we will take you through the steps of making your sprite glide from one specific

00:11.760 --> 00:14.440
location on your stage to another.

00:14.440 --> 00:17.760
This exercise is divided into two videos.

00:17.760 --> 00:19.840
Let's begin with video one.

00:19.840 --> 00:24.200
To start, you must choose a backdrop for your project and a sprite that you want to code

00:24.200 --> 00:27.200
to glide from one point to another on the stage.

00:27.200 --> 00:32.640
If you need help with how to choose a sprite, see the deleting a sprite, adding a sprite,

00:32.640 --> 00:35.720
and adding a backdrop video for more information.

00:35.720 --> 00:39.880
Start by clicking and dragging your sprite on your stage to the location in which you want

00:39.880 --> 00:42.920
your sprite to begin each time that you run your code.

00:42.920 --> 00:47.240
This will change the x y coordinate on your sprite in the sprite.

00:47.240 --> 00:51.600
Next we're going to go over to the events tab and click and drag on this sprite clicked

00:51.600 --> 00:55.640
block from the events category in the block palette to the code area.

00:55.640 --> 00:59.680
This block will run your code when you click on your sprite on your stage.

00:59.680 --> 01:04.720
Next we're going to click and drag a go to x y coordinate from the motion category in

01:04.720 --> 01:07.320
the block palette onto your code area.

01:07.320 --> 01:11.480
This block will tell your sprite where to begin on the stage when you run your code.

01:11.480 --> 01:16.120
You will notice that the x y coordinate inside the box of the block you just placed onto

01:16.120 --> 01:21.320
your code area, match the x y coordinates on your sprite in the sprites pane.

01:21.320 --> 01:23.320
Please continue to video two.

01:23.320 --> 01:24.320
Thanks for watching.

