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

What is Framer? Join the Community
Return to index
Anthony Nguyen
Posted Jun 13 - Read on Facebook

Hey everyone, been struggling to figure out how to check for states on a layer for an if statement. What i'm looking for is something like..

if layer.state == "stateName"

2 Comments

George Kedenburg III

if layer.states.current.name is "name"

Anthony Nguyen

woo! Thank you George Kedenburg III. Appreciate it

Read the entire post on Facebook