I'm trying to animate a toggle button. On the "on" state, the icon on the button has a looped scale animation from 1 to 1.2 and the color changes from black to blue. On the "off" state, the looped animation stopped and the icon get back to its original scale (1) and its original color (black).
I have set a 'new Animation' to create this looped animation because you can't set it on the animationOptions of a state (right?). But I did not figure out how to link my 'new Animation' with the "on" state.