love.touchpressed
Available since LÖVE 0.10.0 This function is not supported in earlier versions. Callback function triggered when the touch screen is touched. Function Synopsis love.touchpressed( id, x, y, dx, dy, pressure ) Arguments light userdata id The identifier for the touch press. number x The x-axis position of the touch press inside the window, in pixels. number y The y-axis position of the touch press inside the window, in pixels. number dx The x-axis movement of the touch p