How to make a multi-state object with buttons that toggle between states
- December 4, 2025
- 2 replies
- 426 views
I'm working on a document to publish online (as a link). I'm trying to incorporate an image of a record player. The plan is that, when clicked, the image of the record player switches to a GIF with a spinning record. At the same time, it'll trigger the sound file I have on the page to play. Then, when the user clicks the GIF, the music pauses, and the GIF switches back to the record player PNG.
So far, I've tried this method:
1. Turn the record player PNG and GIF into buttons (PNG plays music, GIF pauses music).
2. Align the elements and turn them into a multi-state object.
This is where I'm stuck, as when I turn them into an MSO, they lose their interactivity. I can't turn the states into buttons or edit any button actions. Is there a way to achieve the effect I'm going for?
