Lesson Plan

Lesson: Creating a Scene
Time: 60+ mins


Hope you brought dancing shoes! In this lesson, students will create an animated dance party! Activities include adding a scene with music, activating sounds by clicking or tapping on Actors, and animating characters. Note: Modules in this lesson include a listening component, so headphones (1 per student) are recommended.

Code Blocks

  • : Start the program when the play button is selected.
  • : Run code attached to this block when you press a specified key.
  • : React when the specified parameter is detected.
  • : Keep repeating the blocks inside this loop forever.
  • : Play the specified sound file and wait until it is finished playing.
  • : Point the Actor at the specified degree.
  • : Move the Actor a specified number of units.
  • : Animate the character to perform a specified action.
  • : Animate the character and wait for the animation to finish.


  • None


Students will...
  • Add sounds to Actors
  • Use code blocks to activate sounds by clicking or tapping on Actors
  • Use code blocks to animate Actors


  • Computers, laptops, or mobile devices (1 per student) with student account access to Tynker.com
  • Headphones (1 per student)

Warm-Up (15 minutes)

Lead a mini-discussion with your students:
  • What is something you enjoyed programming so far using Tynker?
  • What is something you or someone you know struggled with in the previous lesson?
  • What is something you would like to create using Tynker?
  • Have you ever created a dance party using Tynker? If so, what features (e.g., sound, animated Actors, talking Actors) did you include? If not, what important features do you think we should include?

Activities (45 minutes)

Facilitate as students complete all Creating a Scene modules on their own:
1. Add Music Example (Example)
  • Students will view a project of a Jukebox playing a fun tune, which they will create their own version of in the next module.
2. Add Music (DIY)
  • In this DIY project, students will program a Jukebox Actor to play a tune!
  • Did students finish early? Encourage them to change the background and add more Actors. Bonus: Ask students to add more Actors playing different sounds at the same time.
3. Dancing Actor Example (Example)
  • Students will view a project of a dancing alien!
  • Check that students are clicking (for web) or tapping (for mobile) the alien.
4. Dancing Actor (DIY)
  • In this DIY project, students will program an Alien Actor to dance to the Jukebox’s tune!
  • Students will need to use the "when Actor clicked," "forever," "next costume," and "wait" code blocks to program the Alien Actor to dance.
5. Match the Aliens (Puzzle)
  • To solve this puzzle module, students will need to fix the costumes of the aliens so they all have the same costume.
  • Give a hint: Tell students that each alien needs to have a different "repeat" value. (e.g., "Alien 1" has a repeat value of "4," whereas "Alien 2" has a repeat value of "3.")
6. Dance Party Example (Example)
  • Students will view a project of different Actors dancing in a graveyard!
  • Tell students to click (for web) or tap (for mobile) the red stop button to move on to the next module.
7. Animated Dance Party (DIY)
  • In this DIY project, students will create their own animated dance party!
  • This project is open-ended, so students will need to select their own Actors and animate them to dance to music.
  • Are students struggling to decide on a theme? Encourage them to explore the Tynker Media Library "farm" category and create a barnyard dance party.
  • Did students finish early? Encourage them to add more dancing Actors.
8. Musical Actors Example (Example)
  • Students will view a project where Actors play sounds when you click (for web) or tap (for mobile) on them!
9. Musical Actors (DIY)
  • In this DIY project, students will create their own scene with musical characters that generate different sounds!
  • Ask students, "What sound would make sense for each Actor?" Encourage your students to consider what an Actor might sound like.
  • Did students finish early? Direct their attention to the Bonus section in "Step 6/6," which encourages students to animate their Actors.

Extended Activities (30 minutes)

Class Activity: Natural Environments
1. As a class, create a list of natural environments such as a savannah or desert. Next, research one of the habitats from your list and based on your research, add a background scene and some animals and plants that you might find there. Make sure to include student input (e.g., “How do I add a background?”).
2. Expand on your classroom project by adding a background sound that would be appropriate for your habitat, then animate the animals and plants. When you are done, you and your students will have created an animated scene of the flora and fauna found in natural habitats on Earth.

U.S. Standards

  • CCSS-Math: MP.1
  • CCSS-ELA: RF.1.1, RF.2.4, RF.2.4.A, RF.3.4.A, RF.4.4.A, RI.2.6
  • CSTA: 1B-AP-10, 1B-AP-11, 1B-AP-15
  • CS CA: 3-5.AP.12, 3-5.AP.13, 3-5.AP.17
  • ISTE: 1.c, 1.d, 4.d, 5.c, 5.d, 6.b
This course is not part of your plan. Please upgrade to view all answer keys

Class Presentations

These student-facing slide presentations help educators seamlessly run Tynker lessons in a virtual or physical classroom setting. Each lesson has its own set of slides that introduce the big ideas, suggest unplugged activities, and include a section for each activity module. While running lesson slides, you can switch back and forth between the activity, the slides, answer keys and other lesson materials.
A sample slide presentation is available for your review. Please log in to view all the class presentations available with your plan..
Lesson 1
27 Slides
Lesson 2
Loops and Animation
19 Slides
Lesson 3
Creating a Scene
21 Slides
Lesson 4
Jumping over Obstacles
20 Slides
Lesson 5
23 Slides
Lesson 6
User Interaction
19 Slides
Lesson 7
Guessing Game
22 Slides
Lesson 8
20 Slides
Lesson 9
Alien Invaders
17 Slides
Lesson 10
Music and Animation
18 Slides
Lesson 11
Instruments and Tempo
19 Slides
Lesson 12
Broadcasting Messages
18 Slides
Lesson 13
Time Limits
17 Slides
Lesson 14
Message Driven Programming
18 Slides
Lesson 15
Pop the Balloon
18 Slides
Lesson 16
Animation with Movement
18 Slides
Lesson 17
Obstacle Course
19 Slides