1.14.0.5
Hummingbird
A modern user interface library for games
TouchList Interface Reference

List of touches. More...

Public Member Functions

getter Touch item (unsigned long index)
 Get a touch in the list. More...
 

Public Attributes

readonly attribute unsigned long length
 the number of touches in the list
 

Detailed Description

List of touches.

Member Function Documentation

◆ item()

getter Touch TouchList::item ( unsigned long  index)

Get a touch in the list.

Parameters
indexindex of the item
Returns
the touch at the specified index in the list or null if the index is greater than the length of the list