touches property

TouchList get touches

touches is a read-only TouchList listing all the Touch objects for touch points that are currently in contact with the touch surface, regardless of whether or not they've changed or what their target element was at Element.touchstart_event time.

You can think of it as how many separate fingers are able to be identified as touching the screen.

Note: Touches inside the array are not necessarily ordered by order of occurrences (the i-th element in the array being the i-th touch that happened). You cannot assume a specific order. To determine the order of occurrences of the touches, use the touch object IDs.

Implementation

external TouchList get touches;