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

What is Framer? Join the Community
Return to index
Jacek Stryk
Posted Oct 06 - Read on Facebook

How can I cycle through all states with options in the new Animation API?

I know I can do layer.stateCycle ["stateB", "stateC"], time: 0.5
but how can I apply options to layer.stateCycle()?

Tried layer.stateCycle(), time: 0.5 or layer.stateCycle(,time:0.5) to no avail.

Please advise Niels van Hoorn et al.

Thanks!

2 Comments

Niels van Hoorn

It's even simpler: layer.stateCycle(time: 0.5) should work

Jacek Stryk

Sweet, works, thanks Niels van Hoorn

Read the entire post on Facebook