event.phase

Type String
Event relativeTouch
Revision 2017.3060
Keywords touch, relativeTouch, phase

Overview

A string identifying where in the relative touch sequence the event occurred. Can be one of the following values:

Example

local phaseText = display.newText( "", display.contentCenterX, display.contentCenterY )

local function updateText( event )
    phaseText.text = event.phase
end
Runtime:addEventListener( "relativeTouch", updateText )