---
title: "touchesEnded(_:with:)"
framework: realitykit
role: symbol
role_heading: Instance Method
path: "realitykit/arview/touchesended(_:with:)"
---

# touchesEnded(_:with:)

Tells the view when one or more fingers are raised from the view.

## Declaration

```swift
@MainActor @preconcurrency override dynamic func touchesEnded(_ touches: Set<UITouch>, with event: UIEvent?)
```

## Parameters

- `touches`: A set of UITouch instances that represent the touches whose values changed. These touches all belong to the specified event. For touches in a view, this set contains only one touch by default. To receive multiple touches, set the view’s doc://com.apple.documentation/documentation/UIKit/UIView/isMultipleTouchEnabled property to true.
- `event`: The event to which the touches belong.

## Discussion

Discussion See touchesEnded(_:with:) for more information.

## See Also

### Handling touch input

- [touchesBegan(_:with:)](realitykit/arview/touchesbegan(_:with:).md)
- [touchesMoved(_:with:)](realitykit/arview/touchesmoved(_:with:).md)
- [touchesCancelled(_:with:)](realitykit/arview/touchescancelled(_:with:).md)
