when [right arrow v] key pressed
point in direction(90)
move (10) steps
when green flag clicked go to x (-100) y (0)
when green flag clicked go to x:(-100) y:(0) set rotation style [left-right v] // Add this block
when green flag clicked
forever
if < > then
touching (donut v) ?
switch costume to (happy v)
when green flag clicked
forever
if < > then
touching (sprite1 v) ?
wait (1) seconds
hide
when green flag clicked show
when [left-arrow v] key pressed?
point in direction (-90)
move (10) steps
when [right-arrow v] key pressed?
point in direction (90)
move (10) steps
when flag clicked
go to x (130) y (-80)
switch costume to [sad v]
set rotation style [left-right v]
when flag clicked
forever
if < touching [donut v] > then
switch costume to [happy v]
when flag clicked
go to x (-116) y (80)
show
when flag clicked
forever
if < touching [Sprite1 v] > then
wait (1) seconds
hide
(distance to [donut v])
< () < () >