# When one of the images pops up, the others are invisible

**URL:** https://discourse.processing.org/t/when-one-of-the-images-pops-up-the-others-are-invisible/24748
**Category:** Coding Questions
**Created:** [October 20, 2020, 12:41pm UTC](https://discourse.processing.org/t/when-one-of-the-images-pops-up-the-others-are-invisible/24748 "2020-10-20T12:41:08Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![seoha](https://avatars.discourse-cdn.com/v4/letter/s/73ab20/32.png) [@seoha](https://discourse.processing.org/u/seoha)
#### Post date: [October 20, 2020, 12:41pm UTC](https://discourse.processing.org/t/when-one-of-the-images-pops-up-the-others-are-invisible/24748/1 "2020-10-20T12:41:08Z")

</div>

Hello🤗 I want to make three images change one by one depending on the situation. How should I make them?  
Can you help me?😂

---

<div class="post-metadata">

### Author: ![Chrisir](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/chrisir/32/45_2.png) [@Chrisir](https://discourse.processing.org/u/Chrisir)
#### Post date: [October 20, 2020, 1:17pm UTC](https://discourse.processing.org/t/when-one-of-the-images-pops-up-the-others-are-invisible/24748/2 "2020-10-20T13:17:42Z")

</div>

You can have an int variable which indicates which image is shown

---

<div class="post-metadata">

### Author: ![glv](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/glv/32/18785_2.png) [@glv](https://discourse.processing.org/u/glv)
#### Post date: [October 20, 2020, 1:34pm UTC](https://discourse.processing.org/t/when-one-of-the-images-pops-up-the-others-are-invisible/24748/3 "2020-10-20T13:34:47Z")

</div>

> [@seoha](#):
>
> Can you help me?

There are lots of resources to explore on the Processing website:

_[https://processing.org/](https://processing.org/)_

> [@seoha](#):
>
> depending on the situation

What is the situation?

`:)`
