This print statement works for me in Studio, but on iPhone it prints 'Undefined'. I *think* I'm wrapping it correctly, but it seems not. Any help would be much appreciated!
myThing.scrollable.on Events.TouchStart, (event, layer) -> myTouchEvent = Events.touchEvent(event) startingPoint.x = myTouchEvent.x startingPoint.y = myTouchEvent.y gestureIsScrollCandidate = true
OK I solved it. I needed to use myTouchEvent.clientX instead of myTouchEvent.x
You should just use my pointer module. :)