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

What is Framer? Join the Community
Return to index
Brian Byle
Posted Jul 31 - Read on Facebook

Hello.

I have 1 layer, height = 1000px
I have 1 button

When I click the button, I want the layer to scroll or "animate" to an x coordinate of 100.

The goal is to have a single long layer that I can visually design into different sections. Final design will have "previous" and "next" buttons to scroll to different sections.(by changing x value)

Easiest way?

Thx

2 Comments

Ian McClure

Use a scroll component. It has methods for scrolling to a point or to a layer. You can call them in the button's on tap.

Brian Byle

Thx. Yeah I google'd and found just what I was looking for. I guess I should have done that first!

Read the entire post on Facebook