Difficulty setting different stroke colours for the same component based on different states.
EDIT: i did undo so many times now its crashing. pls help π
https://editor.rive.app/file/fl-granuliser-interative-menu/1980232
So i have been following the new data binding tutorial posted on youtube. I was trying to do something that is not covered in the video which was having a different coloured stroke come alive for each of the different helmet components; whenever theres hover of the mouse over the helmet component.
So i first declared a colour property under the helmet card component. created multiple instances and assigned the colour hexcode. also i included the key frames for hover and idle states. Also assigned the condition for listeners βenterβ and βExitβ. if cursor enters - set borderStroke to listindex value. on exit - have set the alpha value to 0.
But i am unable to achhieve the desired affect. can anybody please help?