This is an early version of the touch library. It will likely grow to include gestures that would be useful for both games and web-pages.
A list of ongoing touches.
The last position that was tapped. Default value is {x=0,y=0}.
Updates whenever the user taps the screen.
Every
Touchhasxycoordinates. It also has an identifieridto distinguish one touch from another.A touch also keeps info about the initial point and time of contact:
x0,y0, andt0. This helps compute more complicated gestures like taps, drags, and swipes which need to know about timing or direction.