SCRATCH GOLD II
SCRATCH GOLD I
2 of 3

1.03 Add sound

Test your project a few times. Do you notice that sometimes the same number is chosen twice (or more) in a row, which makes the sequence harder to memorise?

Can you make a drum sound play each time the character sprite changes costume? And how about a different drum sound for each colour?

Add the Music extension to your project so you can use the play drum block.

To use the Music blocks in Scratch, you need to add the Music extension.

  • Click on the Add extension button in the bottom left-hand corner.
add extension button highlighted
  • Click on the Music extension to add it.
music extension highlighted
  • The Music section then appears at the bottom of the blocks menu.
music extension blocks

The code that plays the drum is very similar to the code that changes the character’s costume.

×
×

Cart