Ages 10–12/Collisions: Did They Touch?
📖 Story

Collisions: Did They Touch?

Games need to know when two things bump into each other. The trick is comparing positions — if they're close enough, that's a hit.

What you'll learn

Compare two positions and react to a collision.

💻 Code Editorjs
🎬

Press Run Code to see your creation!

⏮ Previous lesson