Code a Dance Routine
Use block coding like Scratch to design and program a short animated dance routine with coordinated moves, timing, and simple sound effects.

About this tutorial
Use block coding like Scratch to design and program a short animated dance routine with coordinated moves, timing, and simple sound effects.
What you need
Step by step
- 1
Step 1
Pick a dance theme and how long the routine will be and write it in your notebook.
- 2
Step 2
Open your block-coding editor (like Scratch).
- 3
Step 3
Create a new project in the editor.
- 4
Step 4
Choose or draw your main sprite (character).
- 5
Step 5
Choose or draw a backdrop for the dance stage.
- 6
Step 6
Plan 4 to 8 dance moves and how many seconds each move will last and write them down.
- 7
Step 7
Drag motion blocks to program the first dance move for your sprite.
- 8
Step 8
Add a wait block right after the move to set its timing.
- 9
Step 9
Use look or costume blocks to make poses or visual changes for dance steps.
- 10
Step 10
Add a sound block to play a short sound effect at the right moment.
- 11
Step 11
If you have a second sprite, use broadcast blocks to make both sprites start moves at the same time.
- 12
Step 12
Click the green flag to test your dance routine.
- 13
Step 13
Adjust move amounts and wait times to improve coordination and test again.
- 14
Step 14
Add a loop block if you want the routine to repeat automatically.
- 15
Step 15
Share your finished dance routine on DIY.org
Fun facts
How do I code a dance routine using block coding like Scratch?
To code a dance routine in Scratch, start a new project and pick one or more sprites and a backdrop. Plan moves on paper, then use motion blocks (move, glide, turn) and looks (switch costume, next costume) to animate steps. Add timing with wait blocks and repeat loops for patterns. Use sound blocks and broadcast messages to sync multiple sprites. Test, adjust timing and costume changes, then save and share the finished routine.
What materials and tools do I need to code a dance routine in Scratch?
You'll need a computer or tablet that runs the Scratch website or app, a mouse or trackpad, and stable internet for the online editor. Optional items: headphones or speakers for sounds, a simple storyboard or printed grid to plan choreography, colored pencils for notes, and a Scratch account to save projects. For group settings, a projector or big screen helps show routines to the class or family.
What ages is coding a dance routine in Scratch suitable for?
This activity suits roughly ages 6β16. Younger children (6β8) can build simple step sequences and costume changes with adult guidance. Ages 9β12 can handle timing, loops, and syncing multiple sprites independently. Teens (13β16+) can add variables, clones, and more complex sound editing. Adjust session length and complexity to the child's attention span and experience; younger kids benefit from shorter projects and hands-on help.
What are the benefits of coding a dance routine for kids?
Coding a dance routine teaches sequencing, timing, and computational thinking while encouraging creativity and artistic expression. Kids practice problem-solving when synchronizing sprites, learn cause-and-effect through blocks, and develop basic rhythm and music awareness. The activity supports collaboration, builds digital confidence as children test and iterate, and improves attention and fine motor skills without requiring advanced typing or prior coding experience.
Watch & Learn
Need help?
What can we use if we don't have the block-coding editor (like Scratch) or internet access?
Use Scratch Desktop or ScratchJr on a tablet, try Code.org or Tynker offline activities, or write and rehearse the planned moves in your notebook and test them live if you can't open a block-coding editor.
My second sprite won't move at the same time as the firstβwhat am I doing wrong?
Make sure the first sprite sends a broadcast block and the second sprite has a matching 'when I receive' script with the motion and wait blocks so both start their moves simultaneously.
How can I change the activity for different age groups?
For ages 4β6 use 2β4 big, simple moves written in the notebook and large motion/wait blocks; for 7β10 plan 4β8 moves with costume and sound blocks; for 11+ add broadcasts, loops, custom sprites, and variables to control timing.
How can we extend or personalize the dance routine after the basic version is working?
Add backdrop changes and costume swaps using look/backdrop blocks, layer longer sound clips or repeated sound blocks inside loop blocks, sync multiple sprites with broadcasts, and then share the polished routine on DIY.org.