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

What is Framer? Join the Community
Return to index
Jeff Lin
Posted Jan 05 - Read on Facebook

Hey guys,

Does anyone know hoe to animate a "New Layer" to move in a curvy path?
Thanks

the green play button in this example is what I am talking about!

2 Comments

Tisho Georgiev

I'm working on something that will make animating along paths a little easier, but in the meantime, you can use the technique from the example you posted: put the layer that you want to move in a container that's larger than the layer, then rotate and move the container at the same time. It's a little tricky, but you should open the example and play with the layers to really understand what's going on. Try putting this line after the "setting up the layers" section in the source file:

btnplaceholder.backgroundColor = 'red'

It will show you exactly how the container layer is moved and rotated. Hope this helps!

Jeff Lin

Tisho Georgiev Thanks!!

Read the entire post on Facebook