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

What is Framer? Join the Community
Return to index
Campeón Victory
Posted Aug 17 - Read on Facebook

Hey framer family! I am a beginner with framer and loving it.
So I am trying to make ORB switch states when background is clicked. However, it is saying that the state I created doesnt exist? Did I do something wrong? Thanks for the help!

5 Comments

Koen Bok

Ditch the = at line 24.

Campeón Victory

Thanks

Koen Bok

This a confusing coffee script thing. layer.states.add is a function so you want to call it with states, you are assigning the states to it, effectively overriding the functions.

Koen Bok

That's where the group is for :-)

Campeón Victory

Ahhhhh makes sense! Thanks so much - I really love your product.

Read the entire post on Facebook