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

What is Framer? Join the Community
Return to index
Jiaxin Chen
Posted Jan 07 - Read on Facebook

Hey framers, assume we have four states: 0, 1, 2, 3.
Now I want these four states form a loop like "0->1->2->3->0->1..." and never end, how can I do this? Thanks 🙏


Benjamin Den Boer

Hey Jiaxin Chen — you can use the .next() method, without any arguments, to infinitely cycle between your defined states. :-)

Aalok Trivedi
Read the entire post on Facebook