Hi,
For getting touch ‘began’, ‘moved’ & ‘ended’ in Corona, use the following code.
--Your touch event listener local function myTouchListener( event ) if event.phase == "began" then print( "Touched!" ) elseif event.phase == "moved" then print( "Touches Moved!" ) elseif event.phase == "ended" then print( "Touches Ended!" ) end end --Adding an event listener for touch Runtime:addEventListener( "touch", myTouchListener )
🙂