I am trying to animate a color changing slider and have been running into issues. Currently I am using the mouseEnter, and mouseExit to change the fill color of a component that is inside of my main component and that is working beautifully. The issue comes when I try to animate a different class in the main component based off of my mouseEnter function from the original Animated Component. For instance I want a mouseEnter on one side of the screen trigger a color change on the other side. The way I have it currently is failing to build with error that says undeclared Identifier.
Any help would be greatly appreciated!