---
title: targetIndexPathsForInteractivelyMovingItems
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uicollectionviewlayoutinvalidationcontext/targetindexpathsforinteractivelymovingitems
---

# targetIndexPathsForInteractivelyMovingItems

An array of index paths representing the new location of moving items in the collection view.

## Declaration

```swift
var targetIndexPathsForInteractivelyMovingItems: [IndexPath]? { get }
```

## Discussion

Discussion This property is filled when an interactive move is in progress or has just ended. Use this property together with the previousIndexPathsForInteractivelyMovingItems property to determine what changes you need to make to the affected items. For most other updates, the value of this property is nil.

## See Also

### Invalidating the Order of Items

- [previousIndexPathsForInteractivelyMovingItems](uikit/uicollectionviewlayoutinvalidationcontext/previousindexpathsforinteractivelymovingitems.md)
- [interactiveMovementTarget](uikit/uicollectionviewlayoutinvalidationcontext/interactivemovementtarget.md)
