Forum Discussion

E-LearningSiste's avatar
E-LearningSiste
Community Member
7 months ago

Need help with a 5-star rating system in Articulate Storyline

Hi all, I need some help as I'm working on a 5-star rating system in Articulate Storyline, and I want it to behave like this:
1. When the user hovers over any star, the previous stars should also change to the Hover state
2. When the user clicks on any star, the previous stars should also change to the Selected state
 
For each star hovered/selected, I have a trigger that changes the state of the previous star to Hover and Selected.
 
The problem is that the Hover function works fine, but the selection function does not. I have tried these options:
1. Change the state of Star 1 to Selected when the user clicks on Star 2
2. Change the state of Star 1 to Selected when state of Star 2 is Selected
 
Neither option works, unfortunately. Only the star that the user clicks on changes to the Selected state, but once the mouse leaves that object, the previous stars return to Normal states...
 
What am I doing wrong?