---
title: "dragInteraction(_:sessionDidMove:)"
framework: uikit
role: symbol
role_heading: Instance Method
path: "uikit/uidraginteractiondelegate/draginteraction(_:sessiondidmove:)"
---

# dragInteraction(_:sessionDidMove:)

Tells the delegate the user moved the drag items to a new location on the screen.

## Declaration

```swift
optional func dragInteraction(_ interaction: UIDragInteraction, sessionDidMove session: any UIDragSession)
```

## Parameters

- `interaction`: The interaction that called this method.
- `session`: The current drag session.

## Discussion

Discussion To get the new location, call the drag session’s location(in:) method.

## See Also

### Monitoring drag progress

- [dragInteraction(_:sessionWillBegin:)](uikit/uidraginteractiondelegate/draginteraction(_:sessionwillbegin:).md)
- [dragInteraction(_:session:willAdd:for:)](uikit/uidraginteractiondelegate/draginteraction(_:session:willadd:for:).md)
- [dragInteraction(_:session:willEndWith:)](uikit/uidraginteractiondelegate/draginteraction(_:session:willendwith:).md)
- [dragInteraction(_:session:didEndWith:)](uikit/uidraginteractiondelegate/draginteraction(_:session:didendwith:).md)
- [dragInteraction(_:sessionDidTransferItems:)](uikit/uidraginteractiondelegate/draginteraction(_:sessiondidtransferitems:).md)
