# Create collision between the characters

**URL:** <https://discourse.processing.org/t/create-collision-between-the-characters/8791>\
**Category:** Coding Questions\
**Created:** [February 28, 2019, 10:12am UTC](https://discourse.processing.org/t/create-collision-between-the-characters/8791 "2019-02-28T10:12:23Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rey](https://avatars.discourse-cdn.com/v4/letter/r/b77776/32.png) [@Rey](https://discourse.processing.org/u/Rey)\
**Post date:** [February 28, 2019, 10:12am UTC](https://discourse.processing.org/t/create-collision-between-the-characters/8791/1 "2019-02-28T10:12:24Z")

</div>

ex: Game and watch  
Hi I should create a collision between the characters, example, \* character \* touches the \* enemy \* and the enemy disappears.

can you help me?

Code here ([http://fromsmash.com/9b1ee406-3b42-11e9-a045-0ab2f9c92664](http://fromsmash.com/9b1ee406-3b42-11e9-a045-0ab2f9c92664))

---

<div class="post-metadata">

**Author:** ![Kevin](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/kevin/32/2297_2.png) [@Kevin](https://discourse.processing.org/u/Kevin)\
**Post date:** [March 1, 2019, 6:41pm UTC](https://discourse.processing.org/t/create-collision-between-the-characters/8791/2 "2019-03-01T18:41:39Z")

</div>

Shameless self-promotion: here is a tutorial on collision detection in Processing:

> **[Processing Collision Detection](https://happycoding.io/tutorials/processing/collision-detection)**
>
> Learn how to trigger an action when objects overlap in Processing!

The best advice I can give you is to [get something simple working](https://happycoding.io/tutorials/how-to/program) and then iterate on that. Good luck!
