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

What is Framer? Join the Community
Return to index
Konrad Kolasa
Posted Jun 19 - Read on Facebook

Hey, I try to switch state for sublayer of some layer, but I get still the same error. At first, I tried to do this in loop for more layers, but simplified the code to maximum (I guess), but still the same error. Anybody know anything about this case?
I can only add, that two state exist there.

2 Comments

Jonas Treub

Can you share your prototype?

Brian Williams

your variable isnt defined at the point at which you are trying to access it.

Which means it is either defined after or that you are in the wrong scope.

Use the debugger statement to add a breakpoint before the line its falling over and see what the debugger is saying

Read the entire post on Facebook