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

What is Framer? Join the Community
Return to index
Paul Klinski
Posted Jan 28 - Read on Facebook

Hi Framers,

I want to create a variable amount of states and animate through those, but I cannot set a variable as state name, so the states overwrite themselves.

Can somebody help me?

3 Comments

Rafael Marin

Have you tried

sketch.ActiveDot.states["dot"+index] =

?

Paul Klinski

concatenate!!! nice ist works! thanks a lot

Rafael Marin

[0...amountOfDots]

Read the entire post on Facebook