<!--
{
  "availability" : [
    "iOS: 13.0.0 -",
    "iPadOS: 13.0.0 -",
    "macCatalyst: 14.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "RealityKit",
  "identifier" : "/documentation/RealityKit/EntityTranslationGestureRecognizer/touchesEnded(_:with:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "RealityKit"
    ],
    "preciseIdentifier" : "c:@M@RealityKit@objc(cs)EntityTranslationGestureRecognizer(im)touchesEnded:withEvent:"
  },
  "title" : "touchesEnded(_:with:)"
}
-->

# touchesEnded(_:with:)

Sent to the gesture recognizer when one or more fingers lift from the associated view.

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

## Parameters

`touches`

A set of `UITouch` instances in the event represented by `event` that represent the touches in the
`UITouch.Phase.ended` phase.

`event`

A `UIEvent` object representing the event to which the touches belong.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)