I'm trying to animate a string of text to fade smoothly in and out in an infinite loop.
Originally, I defined multiple states then used .states.next to have it cycle through all of them, but it's not working? However, if I put in a specific state as an argument e.g., swipe1.states.next("second"), it works.
Open to any sort of change. Hoping someone could help me fix my errors or point me to a better solution. I'd really appreciate it :)