Function getTouch

  • Searches for a touch.

    Parameters

    • touches: TouchList

      The list of touches to search in.

    • Optional idToFind: number

      The ID of the touch to find.

    Returns Touch | undefined

    The found touch or nothing.

Generated using TypeDoc