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

What is Framer? Join the Community
Return to index
Daniel Louwe Kooijmans
Posted Jul 10 - Read on Facebook

Hey all I was wondering how I can set a layer to "CenterX" in a state? Is this even possible?

5 Comments

Stefan Hövelmanns

layer.centerX().... var center = layer.x... layer.addstate x: center

Stefan Hövelmanns

hope this makes sense to you

Andreas Wahlström

midX: layer.superLayer.midX

Jordan Robert Dobson

^ Clever.

Daniel Louwe Kooijmans

Cheers guys!!

Read the entire post on Facebook