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

What is Framer? Join the Community
Return to index
Walter Coots
Posted Dec 01 - Read on Facebook

Is it possible to control the properties of an element’s children within states? For example, if I have elementA, and elementB and elementC are its children, can I make one elementA state where elementB is visible, and one where elementC is visible?

1 Comments

Jordan Robert Dobson

Sorta. You would use event to control the other layers.

elementA.on Events.StateDidChange, (from,to) ->

if from is “default”
elementB.opacity = 0

Read the entire post on Facebook