Scratch Projects
Scratch Projects
🔧 Blocks:
🟡 Events
o when green flag clicked
🔵 Motion
o go to x: 0 y: 0
o point in direction (45)
🟣 Looks
o clear graphic effects
🟧 Control
o forever
🔵 move 10 steps
🔵 if on edge, bounce
🟣 change color effect by 10
✨ 2. Disappearing Star
Goal: A star disappears and reappears when you click it.
🔧 Blocks:
🟡 Events
o when this sprite clicked
🟣 Looks
o hide
o wait 1 seconds
o show
o say [I'm back!] for 1 seconds
💃 3. Costume Dancer
Goal: A sprite switches costumes quickly to look like dancing.
🔧 Blocks:
🟡 Events
o when green flag clicked
🟧 Control
o forever
🟣 next costume
wait 0.3 seconds
🌈 4. Rainbow Trail
Goal: The sprite leaves a rainbow trail while moving.
🔧 Blocks:
🟡 Events
o when green flag clicked
🟢 Pen (add extension first!)
o erase all
o pen down
o set pen color to (pick random color)
🔵 Motion
o go to x: -200 y: 0
o point in direction 90
🟧 Control
o repeat 50
🔵 move 10 steps
🟢 change pen color by 10
🟢 pen up
🔧 Blocks:
🟡 Events
o when this sprite clicked
🟣 Looks
o switch backdrop to [night]
o switch costume to [moon]
o say [Good night!] for 2 seconds
Blocks:
🟡 Events
o when green flag clicked
🔵 Motion
o go to x: (pick random -200 to 200) y: (pick random -150 to 150)
🟣 Looks
o show
🟧 Control
o forever
🟣 Looks: hide
🟣 Sound: play sound [pop] until done (or just [pop])
inside:
🟩 Operators:
if <mouse down? and touching [mouse-pointer]> then
🐱 7. Catch the Cat
Sprite: Cat
Backdrop: Any
Blocks:
🟡 Events
o when green flag clicked
🔵 Motion
o go to x: -200 y: 0
o point in direction 90
🟧 Control
o forever
move 10 steps
if <touching edge?> then
🟣 say [Catch me now!] for 2 seconds
🟡 Events
o when [space v] key pressed
🟧 Control
o if <touching edge?> then
🟣 say [You caught me!] for 2 seconds
o else
🟣 say [Missed!] for 1 second
🔢 8. Number Guesser
Sprite: Any
Variables: number
Blocks:
🟡 Events
o when green flag clicked
🟠 Variables
o set [number v] to (pick random 1 to 5)
🟣 Sensing
o ask [Guess a number (1–5):] and wait
🟧 Control
o if <(answer) = (number)> then
🟣 say [Correct!] for 2 seconds
o else
🟣 say (join [Wrong! It was ] (number)) for 2 seconds
️9. Sunny or Rainy Day
Backdrop: “sunny” and “rainy” backdrops
Blocks:
🟡 Events
o when green flag clicked
🟣 Sensing
o ask [Is it sunny or rainy?] and wait
🟧 Control
o if <(answer) = [sunny]> then
🟦 Looks: switch backdrop to [sunny backdrop]
say [It's sunny ☀️!] for 2 seconds
o else
switch backdrop to [rainy backdrop]
say [Take an umbrella!] for 2 seconds
🟡 Events
o when green flag clicked
🟣 Sensing
o ask [What's your name?] and wait
🟣 Looks
o say (join [Hello, ] (answer)) for 2 seconds
🟧 Control
o if <(answer) = [John]> then
say [Hey John!] for 2 seconds
🟡 Events
o when green flag clicked
🟧 Control
o forever
🔵 Motion: point towards [mouse-pointer]
move 5 steps
🟧 Control: if <touching [mouse-pointer]> then
🟣 Looks: say [Got you!] for 1 seconds
🔄 12. Change Color on Click
Blocks:
🟡 Events
o when this sprite clicked
🟣 Looks
o change [color v] effect by 25
🟡 Events
o when green flag clicked
🟧 Control
o forever
🟧 if <key [right arrow] pressed?> then
🔵 move 10 steps
🟡 Events
o when green flag clicked
🟧 Control
o forever
🟣 next costume
🟨 wait 0.5 seconds
🟡 Events
o when this sprite clicked
🟣 Sound
o play sound [meow v] until done
🟧 Control
o if <(loudness) > 50> then
🟣 say [Too loud!] for 2 seconds