Code with MakeCode — image 1 of 2

makecode_magicwand.jpg
details

First let's make a sound play when the button is pressed.  Click the MUSIC block, and drag play sound into your on button A click loop.  Choose the sound you like -- I like magic wand -- and then give it a try!  Click the left button on the Circuit Playground image and see if your sound plays.

Back

Search