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

What is Framer? Join the Community
Return to index
Cemre Güngör
Posted Dec 06 - Read on Facebook

Is there an easy way to see whether something is animating or not? Or should I bind stuff to animation.on 'start' and 'end'?

6 Comments

Josh Puckett

Yes :)

Min-Sang Choi

hmm.. maybe layer.on "change:<property>"?

Koen Bok

Easy: layer.animations().length > 0

http://framerjs.com/docs/#layer.animations

Andreas Wahlström

Koen Bok nice! Maybe a shorthand like layer.isAnimating(), would make sense. I use it quite often.

Koen Bok

I'll add it.

Read the entire post on Facebook