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

What is Framer? Join the Community
Return to index
Ee Venn Soh
Posted Jun 16 - Read on Facebook

Can you use Framer's states to control a state of another element?

layerA.states.add({
select:{
visible: false,
layerB:{visible: true}
}
});

Something like that? Or it is not possible as states only refer to the element's own properties.

1 Comments

Floris Verloop

That's not possible at the moment. However, you could listen to one state and when it starts switching, fire up the other state switch. See this example → http://share.framerjs.com/6mvyhlpaatt9/

Read the entire post on Facebook