Available since LÖVE 0.10.0 |
This function is not supported in earlier versions. |
Gets a list of all active touch-presses.
touches = love.touch.getTouches( )
None.
table touches
The id values are the same as those used as arguments to love.touchpressed, love.touchmoved, and love.touchreleased.
The id value of a specific touch-press is only guaranteed to be unique for the duration of that touch-press. As soon as love.touchreleased is called using that id, it may be reused for a new touch-press via love.touchpressed.