input.go
func TouchPosition(id int) (int, int) {
	found := false
	for _, i := range uiDriver().Input().TouchIDs() {
		if id == i {
			found = true
			break
		}
	}
	if !found {
		return 0, 0
	}

	return uiDriver().Input().TouchPosition(id)
}
func TouchPosition(id int) (int, int) {
	found := false
	for _, i := range uiDriver().Input().TouchIDs() {
		if id == i {
			found = true
			break
		}
	}
	if !found {
		return 0, 0
	}

	return uiDriver().Input().TouchPosition(id)
}
func TouchPosition ( id int ) ( int , int ) { found := false for _ , i := range uiDriver ( ) . Input ( ) . TouchIDs ( ) { if id == i { found = true break } } if ! found { return 0 , 0 } return uiDriver ( ) . Input ( ) . TouchPosition ( id ) }
// TouchPosition returns the position for the touch of the specified ID.
//
// If the touch of the specified ID is not present, TouchPosition returns (0, 0).
//
// TouchPosition is cuncurrent-safe.
TouchPosition returns the position for the touch of the specified ID . If the touch of the specified ID is not present TouchPosition returns ( 0 0 ) . TouchPosition is cuncurrent - safe .