# Updating the Collision between 2 ellipses

**URL:** <https://discourse.processing.org/t/updating-the-collision-between-2-ellipses/18559>\
**Category:** Coding Questions\
**Tags:** homework\
**Created:** [March 10, 2020, 11:45am UTC](https://discourse.processing.org/t/updating-the-collision-between-2-ellipses/18559 "2020-03-10T11:45:10Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Yorunoshi](https://avatars.discourse-cdn.com/v4/letter/y/3be4f8/32.png) [@Yorunoshi](https://discourse.processing.org/u/Yorunoshi)\
**Post date:** [March 10, 2020, 11:45am UTC](https://discourse.processing.org/t/updating-the-collision-between-2-ellipses/18559/1 "2020-03-10T11:45:10Z")

</div>

I want the ellipse from “Gegner” to collapse and kill the ellipses from “Dot” can you guys help me?

This is the Code: [https://codeshare.io/5zpWyr](https://codeshare.io/5zpWyr)

---

<div class="post-metadata">

**Author:** ![tony](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/tony/32/949_2.png) [@tony](https://discourse.processing.org/u/tony)\
**Post date:** [March 10, 2020, 6:48pm UTC](https://discourse.processing.org/t/updating-the-collision-between-2-ellipses/18559/2 "2020-03-10T18:48:40Z")

</div>

Hi! Welcome to the forums.

I know you’re probably coming here because you feel like you’ve hit a wall and your code doesn’t work, but this is not a place to come have someone else solve your homework.

Instead, we ask that you take more time to locate the problem, and come up with a more specific question.

Instead of “I want this ellipse to collapse”, maybe, “How do I detect if two ellipses are colliding?”
