---
title: "touches(for:)"
framework: uikit
role: symbol
role_heading: Instance Method
path: "uikit/uievent/touches(for:)-9neb4"
---

# touches(for:)

Returns the touch objects from the event that belong to the specified given view.

## Declaration

```swift
func touches(for view: UIView) -> Set<UITouch>?
```

## Parameters

- `view`: The doc://com.apple.uikit/documentation/UIKit/UIView object in which the touches originally occurred.

## Return Value

Return Value A set of UITouch objects representing the touches that belong to the specified view.

## See Also

### Getting the touches for an event

- [allTouches](uikit/uievent/alltouches.md)
- [touches(for:)](uikit/uievent/touches(for:)-767rm.md)
- [coalescedTouches(for:)](uikit/uievent/coalescedtouches(for:).md)
- [predictedTouches(for:)](uikit/uievent/predictedtouches(for:).md)
