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

What is Framer? Join the Community
Return to index
Luka Marčec
Posted May 26 - Read on Facebook

How can I center one certain layer?

So X and Y should be something like 50%X and 50%Y of the screen.

Koen Bok, Josh Puckett, Jorn van Dijk, Benjamin Den Boer

8 Comments

Benjamin Den Boer

Layer.center()

Is all you need!

Luka Marčec

Thank you!

Koen Bok

Also note you can do layer.centerX() and layer.centerY()

Luka Marčec

Thanks Koen. Btw, will there be Cactus for Windows?

Koen Bok

Luka: yes. Working on Sketch first, sorry. Will come soon after.

Luka Marčec

Oh, that's cool. I hope that Sketch will also be available for Windows. It's awesome tool.

Koen Bok

Wait, you said Cactus. I meant Framer. Sorry.

Luka Marčec

Yes, haha. It's okay.

Read the entire post on Facebook