# Making shape disappear in a specific area

**URL:** <https://discourse.processing.org/t/making-shape-disappear-in-a-specific-area/24749>\
**Category:** Coding Questions\
**Tags:** homework\
**Created:** [October 20, 2020, 2:22pm UTC](https://discourse.processing.org/t/making-shape-disappear-in-a-specific-area/24749 "2020-10-20T14:22:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![karbon](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/karbon/32/10892_2.png) [@karbon](https://discourse.processing.org/u/karbon)\
**Post date:** [October 20, 2020, 2:22pm UTC](https://discourse.processing.org/t/making-shape-disappear-in-a-specific-area/24749/1 "2020-10-20T14:22:22Z")

</div>

I am trying to make a shape disappear once it is released in a certain area of the window. I am unsure how I should look at the problem to make it work. I couldn’t find examples that were interactivity based. All the ones I found rely on a timer or millis. Should I use a boolean or another method I haven’t found yet?

---

<div class="post-metadata">

**Author:** ![debxyz](https://avatars.discourse-cdn.com/v4/letter/d/58956e/32.png) [@debxyz](https://discourse.processing.org/u/debxyz)\
**Post date:** [October 20, 2020, 4:44pm UTC](https://discourse.processing.org/t/making-shape-disappear-in-a-specific-area/24749/2 "2020-10-20T16:44:43Z")

</div>

Explore the very informative EXAMPLES area on the processing site:

> **[Examples \\ Processing.org](https://processing.org/examples/)**

For example, this simple one shows interaction based on mouse position:

> **[Mouse1D \\ Examples \\ Processing.org](https://processing.org/examples/mouse1d.html)**

While this example isn’t a specific solution to your goal, it should nudge you in the right direction.

🤓
