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

What is Framer? Join the Community
Return to index
Katie Wu
Posted Jul 10 - Read on Facebook

Is there a way to store properties for more than one layer? Like for example when a button is clicked, have LayerA.visible = true and have Layer B.visible = false, and store that somewhere called like superStateA?

Basically having one action trigger multiple things without having to call each individually.


Jordan Robert Dobson

Look into Events.StateDidChange or StateWillChange.

LayerA.on StateDidChange, (fromState, toState) ->

# Do stuff here... To manipulate other states.

Read the entire post on Facebook