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

What is Framer? Join the Community
Return to index
Odan RacKu
Posted Nov 15 - Read on Facebook

Hi everyone,
I'm trying to make a bubble float from the bottom of the screen to the top of the screen with an on tap event. The problem is making the x position change during the animation from left to right to be similar to a water bubble.
Your help would be appreciated.


Ian McClure

Getting the bubble to float up randomly is a little more complex, it would involve a random walk or gaussian random number generation.

To have it float up, you could use .on "change:y" so when the animation changes the y position of the bubble it uses that to change the x. Something like this:

Odan RacKu

Ian McClure Thank you a ton. I really appreciate it

Read the entire post on Facebook