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

# touches(for:)

Returns the touch objects that are being delivered to the specified gesture recognizer.

## Declaration

```swift
func touches(for gesture: UIGestureRecognizer) -> Set<UITouch>?
```

## Parameters

- `gesture`: An instance of a subclass of the abstract base class UIGestureRecognizer. This gesture-recognizer object must be attached to a view to receive the touches hit-tested to that view and its subviews.

## Return Value

Return Value A set of UITouch objects representing the touches being delivered to the specified gesture recognizer for the event represented by the receiver.
