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

What is Framer? Join the Community
Return to index
Farbod Faramarzi
Posted Oct 23 - Read on Facebook

Hi, is there anyway to animate a x position and have it to animate continuously when triggered with mouse-over?
Now I got the problem that the speed decreases after time and when I get close to the x value I have specified. Heres an example of how I don't want it to work :)


Benjamin Den Boer

Hey Farbod, the download link returns a 404 for me. Could you re-upload?

Andreas Wahlström

The time of the animation has to take the current position into account. As a quick fix, try changing the rightButton's time to something like: (3819-background.scrollX)/500

Farbod Faramarzi

Andreas Wahlström Thanks! That worked perfectly!

Read the entire post on Facebook