After programming the owl to move and play a sound, now we try to program it to dance. First, we need to understand that to make it dance means to make it move back and forth. We will also program it to play a beautiful melody while moving.
Programming instructions:
- Add the Event block
- Choose the Motion category and drag the block to Scripts area and change the number of the steps to 20;
- Choose the Sound category and drag the block to Scripts area;
- Again, choose the Motion category and drag the block to Scripts area and change the number of the steps to -20.