0% found this document useful (0 votes)
25 views3 pages

Introduction to Scratch 1

Scratch is a visual programming language that enables students to create interactive stories, games, and animations, fostering creativity and collaboration. Key elements of Scratch include the stage, sprites, scripts, and the programming palette, which together facilitate project development. Programming involves using control, motion, looks, and sound blocks to instruct sprites on their actions and interactions.

Uploaded by

Ade Sawyerr
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
25 views3 pages

Introduction to Scratch 1

Scratch is a visual programming language that enables students to create interactive stories, games, and animations, fostering creativity and collaboration. Key elements of Scratch include the stage, sprites, scripts, and the programming palette, which together facilitate project development. Programming involves using control, motion, looks, and sound blocks to instruct sprites on their actions and interactions.

Uploaded by

Ade Sawyerr
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

Introduction to Scratch

Scratch is a visual programming language that allows students to create their


own interactive stories, games and animations. As students design Scratch
projects, they learn to think creatively, reason systematically, and work
collaboratively.

Elements of Scratch
There are four main elements of Scratch: the stage, the sprites, the script and
the programming palette. These elements can be compared to a play.

1) Stage – similar to the stage in a play. This is where everything will


take place. The stage can be different backgrounds, just like in a play.

2) Sprites – are the actors or main characters of the project. Sprites are
programmed to do something in Scratch.

3) Script – tells the actors what to say or do. Each sprite is programmed with
a script.

4) Programming palette – elements used to program the sprite to do or say


something. Sprites must be programmed to carry out every function you
want them to perform.

Programming a Sprite – Control, Motion, Looks and Sound

Control blocks
Programming a s p r i t e A L W A Y S begins with a control block
(orange/yellow category from the programming palette). There are three
blocks that can be used to begin programming: [ when green flag clicked],
[when spacebar key is pressed], [when Sprite 1 is clicked].

1) When the green flag is clicked – The project will begin when the green
flag in the upper right hand corner is clicked.

2) When space key is pressed – The project will begin when the space bar
is pressed. The black drop down arrow indicates that you can choose a
key different from the space bar; and that key will begin the project.
3) When sprite 1 is clicked – The project will begin when the sprite is click.
Note: Click the sprite on the stage, NOT the small thumbnail sprite shown
underneath the stage

Motion blocks
Motion blocks fall under the blue category. There are several blocks that will
allow the sprite to move.
This category teaches students to understand positives and negatives and other
mathematical concepts, like degrees.

1) [move – 10 – steps] – the sprite will move X steps. You can change the
value whenever there is a fillable white area in a programming block.
For example, 10 steps can be changed to 25 steps. Positive values move
forward (to the right) and negative values move backward (to the left).

2) Glide__sec to x: y: - The sprite will glide to a specified position in


X se conds

Remember: the more seconds you use, the slower/longer it will take the
sprite to glide across the stage. Find a position on the stage that you
would like the sprite to glide to and then move it there. Above the scripts
area, you will find X and Y positions. Use these values to fill in the X and
Y area on the glide block. Be sure to use a (-) sign when necessary.

3) Go to x_ y: - this block is used to place the sprite at a specific


position when the project begins, so you do not have to manually pick the
sprite up and put it in that position every time you restart the project. For
example, if the sprite glides when the green flag is clicked, it will
move away from the beginning location. Instead of moving the
sprite back to the spot where it originally began, you can program it
to begin at that position.

Looks blocks
Looks blocks fall under the purple category of the programming palette.
There are several blocks to control what you SEE the sprite say or how
the sprite looks.

1) Say “hello” for 2 seconds – allows you to program the sprite to


give a word bubble that “says” what you have typed. Because the
white space is fillable, you can delete hello and type another
message. Note: You will SEE the sprite’s message, not hear it
because this block is under the looks category.

2) Switch to costume – If you click on the “Costumes” tab beside the


word “Scripts,” you will notice that some sprites have more than
one costume. You can program the sprite to switch costumes.
If the sprite does not have another costume, you can always create
your own by clicking copy and then edit (see page 6 for more about
painting a sprite).

Sound blocks
Sound blocks fall under the fuchsia category and allow you to program the sprite
to produce sounds or words you can hear. Click on the “Sounds” tab beside the
word “Costumes,” to import or record a new sound. Click Sounds, Import and
then double click on one of the folders (animal, effects, human, etc.).

You might also like