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

What is Framer? Join the Community
Return to index
Daniel Maniés
Posted Apr 24 - Read on Facebook

How can I get the y-position of a TouchEnd event on a mobile device? I tried event.pageY, event.clientY, event.offsetY. But nothing works on mobile. I hope you can help me!

8 Comments

Daniel Maniés

the event:
toolbarContextMenu.on Events.TouchEnd, (event, layer) ->

Marcelo Eduardo Oliveira

Hei Daniel, this was one of the solutions posted here in the forum in the past:
http://cl.ly/ZIkN

That is a generic answer but even if you just need it once .. it's there

Daniel Maniés

Thank you Marcelo! :)

Jordan Robert Dobson

Yep. Thanks Marcelo Eduardo Oliveira. I should put that on framerco.de

Marcelo Eduardo Oliveira

Jordan Robert Dobson there's a lot of good answers in the past that would benefit from that! sorry for not linking back to the thread!

Jordan Robert Dobson

I have an updated one but that method should work

Jordan Robert Dobson

Marcelo Eduardo Oliveira - if you find EM, point them out. I'll add them.

Jordan Robert Dobson

#framerCode

Read the entire post on Facebook