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

What is Framer? Join the Community
Return to index
Paul Jackson
Posted Jun 25 - Read on Facebook

Is it possible to change the properties of subLayers by changing the state of a SuperLayer? Struggling to get the syntax right and make this work.


Koen Bok

I imagine you want to change the width of a sub layer with the width of a super layer right?

Paul Jackson

Not exactly, I'm looking to group changes under a single superLayer state, like so:

stateA: {
subLayerA ( y:200 )
subLayerB ( y:300 )

This way I can avoid giving every layer a state.

Koen Bok

Ha, this is something I have yet to solve in a nice way. You are looking for a state machine that manages layer states. I'm working on something for this.

Paul Jackson

Phew, glad I wasn't missing something obvious.
Looking forward to seeing what you come up with Koen :)

Read the entire post on Facebook