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

What is Framer? Join the Community
Return to index
Markus Ölhafen
Posted Oct 28 - Read on Facebook

Hey everyone.
I'm currently experimenting with custom devices. Is there a way to reposition the whole device? "Framer.device.y = value" just like for the screen position doesn't seem to work..
Anybody has a solution for that?

Thanks in advance

2 Comments

Jonas Treub

You can offset the device with the following code:

yOffset = 40
Framer.Device.phone.y = yOffset
Canvas.onResize -> Utils.delay .01, -> Framer.Device.phone.y = yOffset

Markus Ölhafen

Awesome, thank you so much

Read the entire post on Facebook