Scratch Challenge (Advanced): Drag-and-Drop Grid Inventory
Snap items into numbered slots and swap items on drop.
Challenge brief
Difficulty: Advanced. Goal: Snap items into numbered slots and swap items on drop.
Try building a working solution yourself first before checking hints. Even a rough 5-block prototype counts as a great first step!
- Step 1: Set up your sprites and green-flag reset blocks cleanly.
- Step 2: Build the core mechanic described above and test it immediately.
- Step 3: Add one creative twist of your own (sound, speed, score, or second level).
Explore more challenges & references
Mark this challenge completed below once it runs cleanly, then pick your next challenge!
FAQ
What if I get stuck on "Drag-and-Drop Grid Inventory"?
Break the goal into two tiny pieces, show your key variables on stage so you can watch them live, and check the Troubleshooting or Recipes hub for that single piece.
This guide is provided for educational purposes. Scratch screens and terms may change over time, so please check the official Scratch website as well.