three buttons let appear and disappear different images when pressed

Hello all,

I created a moviefilein TOP which is connected to a null TOP, which is displayed in the container2_background_image COMP. This is the background image.
There is the container2_buttons COMP which contains three different buttons. The COMP has also and Panel CHOP to display the values of the interactions with the buttons.
There are also three moviefilein TOP with each holding different images which each are connected to a null TOP, which then are displayed in the container2_newImage COMP.
Button 1 should display image 1, button 2 should display image 2 and button 3 should display image 3. The value of the images is 0, so that they are not displayed from the beginning.

How can I am make that when button 1 is pressed image 1 is displayed and when the button is pressed again, then image 1 disappears (i.e. is closed) again? The same should be that when button 2 is pressed, then image 2 is displayed and when button 2 is pressed again, image 2 disappears. The same with button 3 and image 3.

I thought about using an Execute CHOP.

How can this be created?

Hi @anarts

Key to this is the Button Type called “Exclusive”. This works very similar to a radio button with the difference that you can click a button that is on again, and have it turn off.

The resulting value will be available via the Panel CHOP and the “radio” panel value. If no button is pressed, the value will be -1

Hope this helps
cheers
Markus