Sound, Music and Pen
Sound
Sound blocks are used to play sounds at some point in our program. Each sprite comes with a default sound. But we can record or add sounds that we already have on our computer:
Music
In addition to sound blocks, Scratch also has a set of blocks to add music to our programs
Where are the music blocks?
We have to add a new extension
A new window pops up and you can find different sets of blocks you can add. Pen block is also an interesting extension we will see in the next point.
Pen
The Pen blocks are used to leave a trail for the sprite to move through. To use them you will have to add the extension as it has been explained in the Music section.
To leave the trail drawn, it is necessary to add the "pen down" block prior to the movement. When we finish painting, we will have to put the "pen up" block so that when we move the sprite again it will no longer paint.
It is possible to paint with different colors and thicknesses. The "erase all" block is used to erase everything painted. We can put a Program that when pressing the "b" key deletes everything. You can try placing these blocks to see their effect:
Practical case
Make a program that shows the path the cat has moved. Add a "meow" sound after you've painted the line.
No Comments