Changing everythings using View model
Hi,
I’m working on a side menu and have achieved most of the functionality I wanted. The options change color when clicked, but I’m facing an issue with the hover-out behavior.
Here’s what I want to achieve using only State Machines / View Models (no separate timelines):
On hover (mouse enter), the option should change to a hover color. (Done)
On hover out (mouse exit), it should return to the default color. (Done)
On click, the option should change to an active color, and only one option should remain active at a time. (😣)
Can you guide me on how to set this up?