ELEMENT COURSE – SCRATCH –
Loop
Programming Concept
Learn the Loop concept in programming.
LEVEL
![]()
開発環境
SCRATCH
1. What is “Loop”?
Let’s use the following demonstration as an example:
You watch superman cartoon on tv everyday. You realize superman always beats the monster in each episodes:
Superman and monster appear, Superman beats the monster
In other words, “Loop” means to repeat something forever.
Loop Start(repeat):
1. Original position

2. Both walk towards each other

3. Superman shoots the beam

4. Monster bounces off

Back to Loop Start
2. Look into the code!
In Scratch, “Loop” looks like this:

Let’s look into another example with codes.
You go to school everyday by walk. Your legs are repeating(Looping) the same sets of action:
“Step Left, Right, Left, Right”
The loop code:

Loop Start (repeat): ![]()
1. Move x by 10 (move forward 10 steps) ![]()
2. Change to next costume (move next feet) ![]()
Back to Loop Start ![]()
Try to find out what is looping in this demostration!

Loop Start (repeat): ![]()
1. Create a clone of myself (dinosaur) ![]()
2. Wait 2 seconds ![]()
Back to Loop Start ![]()
3. Do it yourself! (Coming soon)
Try making your own project using Loop
.
