Skip to content
Learning Site
Home

About

  • About Robotical
  • Case Studies
  • Meet the Team
  • Blog
  • Contact Us

Our Products

  • Marty the Robot
  • Axiom
  • Cog

Teach

  • Lessons & Resources
  • Marty for Educators
  • Funding & Grants
  • Professional Development
  • Why Teach STEM?
  • Coding Environments
  • Student Led Learning

Let's Code

  • Marty the Robot
  • Code Online
  • Marty Apple App
  • Marty Android App
  • Update your Marty
  • Cog
  • Code Online
  • Cog iOS App
  • Cog Android App
  • Axiom
  • Axiom Science

Support

  • Marty Get Started
  • Cog Quick Start Guide
  • Axiom Science Quick Start Guide
  • Support & FAQs
  • Marty V2 User Guides
  • Marty V1 Resources
  • Request Support
  • Request Top-Up Training

Shop

  • Marty the Robot and Physical Computing
  • Class Packs
  • Add Ons & Extras
  • Account
  • Shipping, Returns & Cancellations
  • Distributors
HomeLessonsUnits of workCurriculum standardsTutorials

Information

  • Lessons & Resources
  • Knowledge Base & User Guides
  • About Us
  • Shipping, Returns & Cancellation
  • Privacy Policy
  • Learning site privacy
  • Terms of Service
  • Partner Hub

Support & Help

  • Support & Help Center
  • Getting Started with Marty V2
  • Getting Started with Marty V1

Learning, Resources & Guides

  • Marty V2 Lessons Site
  • Marty V1 Lessons Site

Contact Us in the UK

Stanhope House,12 Stanhope Place,Edinburgh,United Kingdom,EH12 5HH
(+44) 0131 564 0922
hello@robotical.io
Contact Us

Contact Us in the US

2810N Church St, PMB 61694,Wilmington,Delaware,USA19802-4447
(+1) 833 886 1661
hello@robotical.io
Contact Us

Why not join our mailing list?

For News, New Products and Special Offers

Join mailing list

Copyright 2016-2026 © Robotical Ltd

Step 3 of 4

2: Learning to Code with Marty Blocks Jr

Step 3 of 4: 1.04: Let's Do That Again

  1. 31.04: Let's Do That Again
Marty app
CurrentPrevious

1.04: Let's Do That Again

Learn how loops work and program Marty to repeat moves again and again and again...

1.04: Let's Do That Again
Age / stage
5 - 7
Estimated time
60 minutes
Difficulty
Intermediate
Products
Marty V2

On this page

  1. Lesson overview
  2. Before you begin
  3. Warm-up
  4. Get learning
  5. Further challenge ideas
  6. Cool down
  7. Additional reading
  8. Curriculum standards

Additional reading

  • Marty the Robot Educator Guide
  • Educator FAQ

Curriculum standards

19
Choose your curriculum to see the relevant standards.

19 of 19 linked standards shown.

Australian CurriculumAustralia4
Curriculum areaLinked standards
Digital Technologies, Design & technologies: Design & Technologies
Digital Technologies, Design & technologies: Digital Technologies

Select a code to read the full standard.

Digital Technologies, Design & technologies: Design & Technologies

  • ACTDEP006Generate, develop and record design ideas through describing, drawing and modelling
  • ACTDEP025Generate, develop and communicate design ideas and processes for audiences using appropriate technical terms and graphical representation techniques

Digital Technologies, Design & technologies: Digital Technologies

  • ACTDIP010Define simple problems, and describe and follow a sequence of steps and decisions (algorithms) needed to solve them
  • ACTDIP011Implement simple digital solutions as visual programs with algorithms involving branching (decisions) and user input
CSTA Education StandardsUSA2
Curriculum areaLinked standards
General standards

Select a code to read the full standard.

  • 1B-AP-10Create programs that include sequences, events, loops, and conditionals.
  • 1B-AP-11Decompose (break down) problems into smaller, manageable subproblems to facilitate the program development process.
Curriculum for ExcellenceScotland7
Curriculum areaLinked standards
Health and Wellbeing: Mental, Emotional, Social and Physical Wellbeing
Literacy & English: Listening and Talking
Literacy & English: Writing
Technologies: Computing Science

Select a code to read the full standard.

Health and Wellbeing: Mental, Emotional, Social and Physical Wellbeing

  • HWB 0-14a / HWB 1-14a / HWB 2-14a / HWB 3-14a / HWB 4-14aSocial wellbeing

Literacy & English: Listening and Talking

  • LIT 1-07aUnderstanding, analysing and evaluating
  • LIT 1-09aCreating texts

Literacy & English: Writing

  • LIT 1-23aTools for writing
  • LIT 1-26aOrganising and using information

Technologies: Computing Science

  • TCH 1-14aUnderstanding and analysing computing technology
  • TCH 1-15aDesigning, building and testing computing solutions
England's National CurriculumEngland2
Curriculum areaLinked standards
Computing, Design and Technology: Computing
Computing, Design and Technology: Design and Technology

Select a code to read the full standard.

Computing, Design and Technology: Computing

  • ✔️Understand what algorithms are; how they are implemented as programs on digital devices; and that programs execute by following precise and unambiguous instructions

Computing, Design and Technology: Design and Technology

  • ✔️Design purposeful, functional, appealing products for themselves and other users based on design criteria
ISTEUSA2
Curriculum areaLinked standards
International Society for Technology in Education (ISTE)

Select a code to read the full standard.

International Society for Technology in Education (ISTE)

  • 1dStudents understand the fundamental concepts of technology operations, demonstrate the ability to choose, use and troubleshoot current technologies and are able to transfer their knowledge to explore emerging technologies.
  • 4cStudents develop, test and refine prototypes as part of a cyclical design process.
TEKSUSA2
Curriculum areaLinked standards
Elementary Technology Applications: Grade 3 to Grade 5

Select a code to read the full standard.

Elementary Technology Applications: Grade 3 to Grade 5

  • 4.DCritical thinking, problem solving, and decision making. The student applies critical-thinking skills to solve problems, guide research, and evaluate projects using digital tools and resources. The student is expected to: evaluate technology tools applicable for solving problems.
  • 6.ATechnology operations and concepts. The student demonstrates knowledge and appropriate use of technology systems, concepts, and operations. The student is expected to: demonstrate an understanding of technology concepts, including terminology for the use of operating systems, network systems, virtual systems, and learning systems appropriate for Grades 3-5 learning;

Resources

Learner resources

  • Workbook for Let's Do That AgainFile links loading

Educator resources

  • Teacher GuideFile links loading
  • Presentation for Let's Do That AgainFile links loading
  • Story textFile links loading
2: Learning to Code with Marty Blocks Jr
Unit overview
11.02: Getting Started with Blocks Jr
21.03: An Argument with Marty
41.05: Fixing Instructions
Previous step1.03: An Argument with Marty
Next step1.05: Fixing Instructions

Lesson overview

Learners already know that you can change the arguments for applicable blocks, which eliminates the need to use multiple copies of the same block. The repeat block (loop) allows for the repetition of one or more action eliminating the need for repeating a sequence of blocks that you want to loop.

Learning objectives

  • I can describe an action that has different parts.
  • I can create a block of code that causes the instructions inside to repeat.

Key vocabulary

  • Loops
  • Repetition

Prior learning

Knowledge of block names

Before you begin

Equipment

  • Marty the Robot v2
  • Tablets
  • Access to the Blocks Jr editor

Technical information

For this entire lesson, Marty should be on the ground, not on a table.

Warm-up

TimingActivityPossible adaptations
Timing—

Warm up

Share with learners the learning objectives and success criteria for the lesson, from the presentation file.

Read the story text from the resources section or in the presentation slides. Notes have been added to support the flow.

Ask learners what they can remember about having an action occur more than once. This was explored in the lesson on parameters and arguments - when you change the number value for steps in whichever direction you have, that many steps will be taken. Ask learners what might happen if I wanted to take 5 steps how could I tell Marty to do that?

The video in the presentation illustrates the blocks and how Marty looks.

What if I wanted to have Marty take a step forward and a step to the side 5 times?

Illustrate the next slide of the presentation showing 5 forward steps and 5 sidesteps and Marty moving. Ask if that is what was wanted. Learners should say, "No, you want a forward steps and then a sidestep and to do that 5 times."

Share with learners ideas for what routines repeat: Music and dance could be suggested but so are bigger things, like getting ready for school. We do the same thing most mornings. Have learners think about other instructions that Marty might like to repeat.

Possible adaptations—

Get learning

TimingActivityPossible adaptations
Timing—

Get Learning

Have learners watch the following video clip that has 7 basic steps:

Stop after the dance moves repeat because the dance then goes into reverse unless you want to look at both ways the dance can be performed. Repeat the initial sequence as needed. If you allow the backwards and forwards view of the dance, be prepared for learners to present the order of dance steps in either direction: 1 to 7 or 7 to 1.

  1. 4 steps forward
  2. 1 step to the side, jump clap
  3. 1 step to the other side, jump clap
  4. turn to the side and put arms out
  5. shake shoulders
  6. turn to the other side and put arms out
  7. shake shoulders again

Watch video

Have them watch for the order of the steps and how many times they repeat. Then have them complete the workbook page to put the actions in order.

The second video uses a short repeating musical pattern, called an ostinato, from the theme of Final Fantasy VII. Ask learners to listen for the repeating pattern. They can tap or clap along each time it returns. Discuss how repeating a musical pattern is similar to using a repeat block in code.

Watch on YouTube

Cool down

TimingActivityPossible adaptations
Timing—

Cool Down

Bring learners back together to discuss the challenges they faced and overcame. Have groups model their creations and explain what is happening, when. Encourage questions about differences between the design of different groups' code. If a group chose to explore any extension activities, allow for time to explain this.

Suggested questions you might ask:

  • Which interesting combinations did you create? What movement is Marty performing?
  • Were there any problems you discovered with the repeat block you used? It never stopped - this was the repeat forever block.
  • Do you think it is a good idea to use this block to improve your code or would you prefer not to use it? Why? Learners may say it wasn't good because it didn't stop but it did take away the need for so many code blocks.

Carry out any end of lesson routines.

Log off devices and clear everything away.

Possible adaptations—

Unit resources

Learner resources

  • 1.02 Getting Started with MartyBlocks Jr.zip
  • 1.03 An Argument with Marty.zip
  • 1.04 Let's do that again.zip
  • 1.05 Fixing Instructions.zip

The following slide will show one step forward and one to the side, repeated 5 times. This is better but takes a long time to write and a long time to read. Tell learners that today we will be working with a block that lets us repeat more than one action so that we can make a sort of routine.

show just the code in Blocks Jr with Marty's movements

Have learners think about the benefit of using a block that lets us repeat an action in code. It will take less time to write, it will take up less space on the page, I can easily see how many times something will happen, etc.

Possible adaptations—
Timing—

Time for Practice

Share with learners a very basic example of an action that repeats, without a loop.

The code is in the presentation

Have learners describe the parts that repeat. Then, show a repeat block being applied that eliminates the need to duplicate the blocks on the workspace.

again, show the just code of Marty in action - the video is below.

Watch on YouTube

Ask learners to model / describe what they think the code will do, for Marty:

  • Marty puts one foot forward (in)
  • Marty puts one foot back (out)
  • Marty puts one foot forward
  • Marty dances (shakes it all about)

Talk with learners about the difference between the two instruction samples: the output is the same (in the short term), the code blocks used (apart from the repeat block) are the same, the number of blocks used is different. There is a slide with both collections of code blocks side by side.

Discuss with learners what they think Marty could do, making use of the loop block - a dance move, a drama (mime of an action), some other routine. Give learners time to discuss and plan movements they know that can be repeated.

Possible adaptations

Support

Take time to repeat the steps that make up an action. Display some ideas to groups, depending on the ideas that learners suggest. Ask for whole-class support in breaking down the steps and either illustrate them or use text to describe them for groups to consult.

Further challenge ideas

Extend

Have learners think about how they might have two Martys use different repeat blocks to create a routine together: as one takes 3 steps forward, the other takes three steps back; as one takes three steps to the right, one takes three steps to the left, etc.

The discussion should be timed properly: starting at the same time and keeping the movements synchronized.