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

What is Framer? Join the Community
Return to index
Jérémy Jones
Posted Dec 10 - Read on Facebook

Hi guys, I would like to know if it's possible to retrieve the position of a click? X and Y? Thanks :)

4 Comments

Andreas Wahlström

layer.on Events.Click, (e) -> print e.clientX, e.clientY

Jérémy Jones

Andreas Wahlström Thanks boss!

Andreas Wahlström

no problem! here are some more events you can use https://developer.mozilla.org/en-US/docs/Web/Events/click

Johannes Eckert

Doesn't this change when you have a device in your preview?

Read the entire post on Facebook