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

What is Framer? Join the Community
Return to index
Денис Дрожжов
Posted Aug 12 - Read on Facebook

How do I check if a layer has state with certain name? I tried something like layerA.states("stateN"), but it doesn't work.


Денис Дрожжов

Found it, this should work: x.states._states["default"]

Anton Kartashov

Also you can use "try". But ya code shorter

Read the entire post on Facebook