WEBVTT

00:00.000 --> 00:20.440
So far, you've learned to create amazing things with scratch.

00:20.440 --> 00:23.200
But what happens when things don't go as planned?

00:23.200 --> 00:29.240
Today you'll become coding detectives, learning how to find and fix mistakes, known as bugs.

00:29.240 --> 00:34.040
This is called debugging, a super important skill for any young programmer.

00:34.040 --> 00:38.800
Objective, play detective, and try to spot what's wrong in the given codeie.

00:38.800 --> 00:40.040
What is expected?

00:40.040 --> 00:44.520
Gobo and scratch cat should start dancing when the green flag is click-ed.

00:44.520 --> 00:46.000
What is happening?

00:46.000 --> 00:49.760
Only scratch cat starts dancing, and gobo stands still.

00:49.760 --> 00:51.080
Steps to follow.

00:51.080 --> 00:52.080
Step 1.

00:52.080 --> 00:54.480
Check both the codes given below.

00:54.480 --> 00:55.480
Step 2.

00:55.480 --> 00:58.600
Identify the mistake from the code for gobo sprite.

00:58.600 --> 00:59.760
Step 3.

00:59.760 --> 01:05.160
Make changes you have identified so that gobo will start dancing with scratch cat.

01:05.160 --> 01:06.480
Step 4.

01:06.480 --> 01:15.360
Test your new code to check if you get the desired output.

