SOLVED - Star rating component — how to keep preceding stars filled on hover?
I have a star rating built with a single Star component and a Main artboard that duplicates it via Number to List, driven by a numOfSegments property.
Data structure:
Current behavior:
Each star scales up and fills in on hover, using a State Machine driven by isHovered. Since isHovered is a single shared boolean (not per-instance), hovering any star triggers the same value for all copies simultaneously — so only the hovered star reacts, with no relationship to its neighbors.
The problem:
I want a typical star-rating UX: hovering star #3 should fill stars #1–3, not just star #3 alone. Since isHovered is shared and boolean, there's no way to derive "this star is to the left of the hovered one" from it.