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

What is Framer? Join the Community
Return to index
Neil Everette
Posted Aug 16 - Read on Facebook

I'm trying to create a circle inside a button (recreating a ripple button), but my click event isn't returning the correct values. I want the circle to be created under the click, but the lower and further to the right I click, the more its off. Any ideas?


Derek Nguyen

You should probably use `event.point.x` and `event.point.y` instead of `event.offset.x`, those are the mouse position on the target element

Read the entire post on Facebook