---
title: "touchesMoved(_:with:)"
framework: realitykit
role: symbol
role_heading: Instance Method
path: "realitykit/entitytranslationgesturerecognizer/touchesmoved(_:with:)"
---

# touchesMoved(_:with:)

Sent to the gesture recognizer when one or more fingers move in the associated view.

## Declaration

```swift
@MainActor @preconcurrency override dynamic func touchesMoved(_ 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.moved phase.
- `event`: A UIEvent object representing the event to which the touches belong.

## See Also

### Using the recognizer

- [entity](realitykit/entitytranslationgesturerecognizer/entity.md)
- [canPrevent(_:)](realitykit/entitytranslationgesturerecognizer/canprevent(_:).md)
- [location(in:)](realitykit/entitytranslationgesturerecognizer/location(in:).md)
- [reset()](realitykit/entitytranslationgesturerecognizer/reset().md)
- [setTranslation(_:in:)](realitykit/entitytranslationgesturerecognizer/settranslation(_:in:).md)
- [touchesBegan(_:with:)](realitykit/entitytranslationgesturerecognizer/touchesbegan(_:with:).md)
- [touchesCancelled(_:with:)](realitykit/entitytranslationgesturerecognizer/touchescancelled(_:with:).md)
- [touchesEnded(_:with:)](realitykit/entitytranslationgesturerecognizer/touchesended(_:with:).md)
- [translation(in:)](realitykit/entitytranslationgesturerecognizer/translation(in:).md)
- [velocity(in:)](realitykit/entitytranslationgesturerecognizer/velocity(in:).md)
