Forum Academy Marketplace Showcase Pricing Features

Chain of animations

I would like to animate a text with fade in and out for 3 seconds straight . meaning “in half a second” - “out half a second” - “in half a second” - …
But it keeps getting stuck.
I added pauses between each animation and set every animation to be 500ms and pauses to be 500 ms.
How can this be done?