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

What is Framer? Join the Community
Return to index
Eric Torleiv
Posted Jun 23 - Read on Facebook

How do I set or change the anchor points of layers in code? Is there a property I can set that corresponds to the pin controls in design mode, or do I need to align layers by listening to resize events?


Jonas Treub

The constraints API is not yet public. We are planning to open it up once we settle on it. If you want to dive in anyway you can read the Framer source on Github.

Read the entire post on Facebook