This video will show you the basics of Scratch.
Then, you’ll get to program your very first project: a victory celebration!
Who doesn’t like to celebrate after scoring a goal, beating the clock, or making a basket?
To open Scratch, click the starter project link next to this video To save the projects you make to your account, click Remix.
Then enter the sign in information from your passport.
If you ever need to switch back to this video on CS First, click the CS First tab at the top of your browser.
Scratch is a programming language.
Programming languages are tools that computer scientists use to give computers instructions.
Right now, you’re looking at Scratch’s project editor.
In the project editor, there is a sprite on an American football field.
A sprite is a character or object in Scratch.
It moves around and acts on the stage.
You will program spites to do different things in your projects.
The menus in the middle of the screen contain the instruction blocks you’ll use to control the sprites.
These blocks are sorted by color-coded categories, like “motion” and “looks.”
The motion category contains blocks like “move 10 steps,” which moves the sprite a little bit in the direction it’s facing.
One of the best ways to learn computer science is to explore and try new things.
While you’re working in Scratch, if you see a block that looks interesting, click it to find out what it does!
To select a block to use in your program, click and drag it into the scripts area.
Many blocks have values that you can change by clicking on the white value blank inside the block and typing.
To add another instruction to your program, select another block, and drag it until it snaps below the first instruction block.
The computer will read the instructions you create to make your project do what you want.
When a computer scientist tells a computer to read and carry out instructions, it is called “running” the code.
These blocks run in the order they are stacked.
To run a stack of blocks, just click on it.
This sprite says “Touchdown!” then it changes the way it looks.
In Scratch, that’s called changing “costumes.”
As you explore, if you can’t figure out what a block does even after you click on it, click this “block help” question mark, then click on the block.
Scratch will then define the block for you.
It says what the block does, then gives an example of how to use it.
This block looks like it goes around other blocks, so this example will try that.
Dragging out a “wait” block pauses the program for a short time, then continues to the next block.
Now it looks like this sprite is doing a victory dance and saying “Touchdown.”
Now that you’ve seen a brief introduction, it’s your turn to explore.
You will program your unique victory celebration for the Scratch cat.
Remember to try out different blocks, and use the “block help” tool to get more information on a block.
To begin, click the “stage” icon, then the “backdrops” tab to choose one for your project.
Once you have selected your backdrop, click on the cat, then the “scripts” tab.
Use the blocks in the scripts menu – particularly the motion and looks menus – to program the victory celebration for the cat.
Once you have a set of blocks you like, adding a "when flag clicked" block from the events menu to the top will make the blocks run whenever someone clicks the flag.
This will make it easier for other people to use your program.
To share your project with the Scratch community, click "share."
Give the project a creative title, then add instructions so others know how to use your creation.
In "notes and credits," you can thank your teammates or leaders.
If you have questions while you’re working, ask a neighbor for help or put a sticky note on your computer monitor to get the attention of the CS First Host or Guru.
When your Guru instructs you to do so, click back on the CS First tab, then click on the “wrap up” button, where you'll share your project, take a short survey, and watch the final video.
Here's the game plan: Click the Scratch link next to this video.
Click "Remix," and sign in with the information from your passport.
Try different blocks.
Program the Scratch cat’s victory celebration.
Finally, Add a "when flag clicked" block to the top of your block stack.
The final video will say congrats and give you a preview of the next club.
- Click the Victory Celebration Starter Project link.
- Remix the project.
- Sign in to Scratch with the information from your passport.
- Try different blocks.
- Program the Scratch cat's victory celebration.