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

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

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

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


What is the situation?