• This function takes a browser Touch object and returns the coordinates of the touch relative to the target DOM element.

    Parameters

    • touch: Touch

      The browser Touch object.

    Returns object

    The coordinates of the touch relative to the touch.target DOM element. In the format {x, y}.