Window.getTouchPoint

Function/Meaning
Get touch coordinates
Type
Method of the Window class
Syntax
getTouchPoint(index)
Arguments
index Specifies the index of the touch coordinate array.
Return Value
None (void)
Description
Retrieves the coordinate information for the specified index from the current touch coordinate array.
The number of coordinates can be obtained with the Window.touchPointCount property.
The coordinate information is returned as a dictionary containing the following elements.
startX : The x-coordinate value of the start position of this touch (client coordinates)
startY : The y-coordinate value of the start position of this touch (client coordinates)
x : The current x-coordinate value of this touch (client coordinates)
y : The current y-coordinate value of this touch (client coordinates)
ID : The identification ID for this touch
Reference
Window.touchPointCount