Chapter 13's first real two-sprite game! Put the falling-apple script on one sprite (name it Apple) and the mouse-following-basket script on another sprite (name it Basket) — catch the apple to score a point.
👀 What You'll Make
🧩 Grab These Blocks
1Events
2Control
3Motion
4Sensing
5Variables
🔨 Build It Like This
1
whenclicked
3
go to x: pick random -200 to 200 y: 180
2
forever
3
change y by -5
2
ify position < -170then
3
go to x: pick random -200 to 200 y: 180
1
whenclicked
2
forever
3
go to x: mouse x y: -160
2
iftouching
Apple
?then
5
change
score
by 1
▶️ Click the green flag above the stage to try it!