love.touch.getTouches
Available since LÖVE 0.10.0 |
This function is not supported in earlier versions. |
Gets a list of all active touch-presses.
Function
Synopsis
touches = love.touch.getTouches( )
Arguments
None.
Returns
table touches
- An list of active touch-press id values, which can be used with love.touch.getPosition.
Notes
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.
See Also
Other Languages
Dansk –
Deutsch –
English –
Español –
Français –
Indonesia –
Italiano –
Lietuviškai –
Magyar –
Nederlands –
Polski –
Português –
Română –
Slovenský –
Suomi –
Svenska –
Türkçe –
Česky –
Ελληνικά –
Български –
Русский –
Српски –
Українська –
עברית –
ไทย –
日本語 –
正體中文 –
简体中文 –
Tiếng Việt –
한국어
More info