With some states this is easily done. Create an element with 3 states. Active at start being the grey star.. Add a state 'Correct' with the orange star and 'Wrong' with the red star. Create the element on top with 5 or more stars... and when needed change the state of the star with a trigger to 'Correct' or 'Wrong'/
Math beat me to it, but here is my example anyway. It uses the same principle he has highlighted, using triggers to change the state of the stars depending on the result. Variables are adjusted when either the Correct or Incorrect layer appears and these then determine the colour of the star that is displayed.
If you have any queries, just get back to me here.
2 Replies
With some states this is easily done. Create an element with 3 states. Active at start being the grey star.. Add a state 'Correct' with the orange star and 'Wrong' with the red star. Create the element on top with 5 or more stars... and when needed change the state of the star with a trigger to 'Correct' or 'Wrong'/
Math beat me to it, but here is my example anyway. It uses the same principle he has highlighted, using triggers to change the state of the stars depending on the result. Variables are adjusted when either the Correct or Incorrect layer appears and these then determine the colour of the star that is displayed.
If you have any queries, just get back to me here.