top of page
באננר100.png
אקווריום_edited.jpg

5

The aquarium

In this activity, we will learn about the "wait" block and create an aquarium in which two fish move forward at intervals

חכה.png

The "wait" block in Scratch Jr. is a control block that pauses the execution of the script for a specified period of time in seconds, the value 10 equals one second.

2 seconds = 20

3 seconds = 30

4 seconds = 40

action.png

Add the "aquarium" background

2023-09-13_19-52-58.png
רקע אקווריום.png
action.png

Add 2 fish sprite 

פלוס.png
fishe2.png
fish1.png
action.png

Place the fish on the left side of the screen

רקעדכים.png
action.png

The scripts

The Yellow Fish script
Wait 1 second, repeat 25 times 10 steps to the right

דג1.png
תריט1דג.png

The green fish script
Repeat 25 times  movement of 10 steps to the right

דג2.png
תסריטדג2.png
action.png

Click on the green flag and activate the program

Please note: The "Wait" block will cause the yellow fish to move after the green fish with an interval of 1 second.

bottom of page