---
title: allTouches
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uievent/alltouches
---

# allTouches

All touches associated with the event.

## Declaration

```swift
var allTouches: Set<UITouch>? { get }
```

## Return Value

Return Value A set of UITouch objects representing all touches associated with the event.

## Discussion

Discussion If the touches of the event originate in different views and windows, the UITouch objects obtained from this method will be associated with different responder objects.

## See Also

### Getting the touches for an event

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