# Buttons and image states

**URL:** <https://forum.cabbageaudio.com/t/buttons-and-image-states/2716>\
**Category:** Cabbage Stew\
**Created:** [15 July 2021 16:38 UTC](https://forum.cabbageaudio.com/t/buttons-and-image-states/2716 "2021-07-15T16:38:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mjmogo](https://forum.cabbageaudio.com/user_avatar/forum.cabbageaudio.com/mjmogo/32/3522_2.png) [@mjmogo](https://forum.cabbageaudio.com/u/mjmogo)\
**Post date:** [15 July 2021 16:38 UTC](https://forum.cabbageaudio.com/t/buttons-and-image-states/2716/1 "2021-07-15T16:38:06Z")

</div>

I have an optionbutton that has 5 different options, and I was wonder, if it is possible, like how a slider can use a graphic to display its state, can an optionbutton also take a filmstrip and display a different frame of the filmstrip depending on the state of the button? Or do we need to programmatically do this? Should I break each of the frames out into separate files, and then swap them out on the fly?

(I suddenly had a craving to listen to the song “Frame by Frame” by King Crimson!)

---

<div class="post-metadata">

**Author:** ![rorywalsh](https://forum.cabbageaudio.com/user_avatar/forum.cabbageaudio.com/rorywalsh/32/165_2.png) [@rorywalsh](https://forum.cabbageaudio.com/u/rorywalsh)\
**Post date:** [15 July 2021 17:58 UTC](https://forum.cabbageaudio.com/t/buttons-and-image-states/2716/2 "2021-07-15T17:58:55Z")

</div>

Just place an image over the button with mouseInteraction set to 0. That will allow clicks to pass through. Then update the image on each button click.
