WEBVTT

00:00.000 --> 00:10.560
Welcome to the video, too, of making your sprite glide from one specific location on your

00:10.560 --> 00:12.080
stage to another.

00:12.080 --> 00:17.080
Now we're going to click and drag away one second's block from the control category in the

00:17.080 --> 00:22.600
block palette to the code area, and clip it to the go to x, y-go-ordinate block.

00:22.600 --> 00:26.880
This way block will tell your sprite to wait a specific amount of seconds before gliding

00:26.880 --> 00:29.960
to its next given x, y-go-ordinate.

00:30.040 --> 00:33.800
You can change the number of seconds inside the white bubble on the block.

00:33.800 --> 00:38.160
Now we want to click and drag your sprite on the stage to the next location that you want

00:38.160 --> 00:39.840
your sprite to move to.

00:39.840 --> 00:43.840
As you can see, I'm going to click and drag my sprite to the bottom of the steps here

00:43.840 --> 00:45.440
from the chicken co-op.

00:45.440 --> 00:50.360
This will update the x, y-go-ordinates of your sprite in the sprites pane again.

00:50.360 --> 00:55.840
Next we need to click and drag one seconds to x, y-go-ordinate block from the motion category

00:55.840 --> 00:58.480
in the block palette onto the code area.

00:58.480 --> 01:01.880
This block will have the sprites newly updated coordinates.

01:01.880 --> 01:07.000
This block will tell your sprite to fly for one second to that x, y-go-ordinates inside

01:07.000 --> 01:08.520
the block.

01:08.520 --> 01:11.280
Test your code by clicking on your sprite on the stage.

01:11.280 --> 01:12.200
Thanks for watching!

