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

What is Framer? Join the Community
Return to index
Stanislas Chaillou
Posted May 29 - Read on Facebook

Hi Framers! I am stuck with my prototype, could use some help. I have 2 circles in my prototype. One white, one red. The red one is in center of screen. The white one is moving towards the red one. I want to be able to drag the white circle, has it moves towards the red circle, and for the white circle to keep moving towards the red circle, even after I stop dragging it. For the moment the animation starts, the white circle starts moving towards the red circle, I drag it, and it would stop after being dragged. I would like it to keep being 'attracted' by the red circle. Thanks your help!

1 Comments

David Louie

Doh! in the onDragEnd animation, you forgot to put x, y under properties. This is why coding sometimes sucks.

Read the entire post on Facebook