This is a read-only archive of the Framer Community on Facebook.

What is Framer? Join the Community
Return to index
George Otsubo
Posted Jul 28 - Read on Facebook

Hi, silly question...I'm using states and Utils.interval to repeat an animation but how can I stop it after a delay? I tried using Utils.delay but I'm definitely not doing it right.. or maybe there is an easier way to do this.


Floris Verloop

Your animation isn't stopping because the "interval" keeps running. You can easily fix this by clearing the interval inside your delay. See here →

Anton Kartashov

The most rough way is to use boolean variable:

George Otsubo

awesome thanks guys!

Read the entire post on Facebook