NEW Explore the Scratch Block Dictionary, tutorials, textbook, and classroom guides

Start learning →

Scratch Challenge (Advanced): Fast Circle-vs-Circle Collision

📌 What you will learn

Compare squared distances (dx*dx + dy*dy < r*r) without slow touching checks.

Challenge brief

Difficulty: Advanced. Goal: Compare squared distances (dx*dx + dy*dy < r*r) without slow touching checks.

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!

All 120 Scratch Coding Challenges Browse Beginner, Intermediate, and Advanced challenges. Learn more → Scratch Block Dictionary Look up any Scratch 3.0 block with examples. Learn more → 100 Scratch Coding Recipes See clean patterns for common game mechanics. Learn more →

FAQ

What if I get stuck on "Fast Circle-vs-Circle Collision"?

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.