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

What is Framer? Join the Community
Return to index
Fabien Mahé
Posted Jan 24 - Read on Facebook

Hey guys!
I have a problem... A big problem... It's my birthday and I can't do what I want on Framer... If anyone can help me with states and onClick in a loop he will have the biggest "thank you" ever :)

Basically I generate 5 different layers with a loop but the onClick to change the state works just on the first generated layer... I tried to move things around, in and out the loop, but it won't work :/

Thanks :)
(Yes I use my birthday to have what I want) :)

1 Comments

Sigurd Tapio Mannsåker

Happy birthday! Normally this would happen with your last layer and not your first, but it sounds like this may be what you're after: https://framer.com/getstarted/programming/#scope

Read the entire post on Facebook