Hover State Not Restoring to Previous State As Expected

Nov 15, 2022

I have a quiz that is in multiple languages. I have changed the states of the text boxes, etc. to show the different languages. I also have different states for my buttons (hover and down). Everything seems to be working as planned, except the hover state. For instance, if the German language is triggered, the button shows up in German when the timeline starts, but when the button is hovered over, it changes states, but when the mouse moves away, it becomes the English hover state. I need it to go back to the previous state that it was in when the timeline started. I've attached my project. Any help is greatly appreciated!

3 Replies
Walt Hamilton

I’m not where I have SL, but here’s the first thing I would look for. Make sure that English is not the Normal state. I would make Normal without a language, and German and English both as custom states. Of course, then you need to create triggers to change to the appropriate language on hover.

Walt Hamilton

The built-in states Hover and Down are still there:

When you hover over Submit, it changes first to Hover, then to your custom Hover. When you leave, it changes back first to the built-in state. Then when you leave that, it changes the Submit button back to Normal. Those things happen faster than the screen can register, so you don't see them.

Delete Hover and Down, and your triggers will work for Spanish and German. You will have to duplicate the states and triggers for English and British.