top of page
Scratch Control Code Block

Week: 

Level: 

Content:

Details:

8

Beginner

Scratch Control Code Block

Introducing students to use various conditional statements using the Control code blcok

  • Learn using "wait":

  • Add "wait '1' seconds" code block brom Controls tab to the code window and chan '1' to '5'

  •  Combine "wait '5' seconds" code block with the code blocks from earlier practice

  • Add "say 'Hello!'" code block to the code window and combine all code blocks

  • Press Space key on the keyboard to see the code executes when the condition is fullfilled.

  • Expected behavio: After Space key is pressed, the butterfly should move 20 steps, wait for 5 seconds, then say 'Hello!'

bottom of page