I'm getting 'undefined' returned for event.x during a DragMove in this example when testing on my device: http://examples.framerjs.com/#draggable-swipe.framer
Any ideas why? I was referring to this example for something I'm working on.
This happens, because on a touch event, the x/y could be different for the different fingers used. You can use this code to always use the location of the mouse when on desktop, and the location of the first touch on mobile:
myLayer.on 'DragMove', (event) -> event = Events.touchEvent(event) x = event.clientX y = event.clientY