---
title: sourceIndexPath
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uicollectionviewdropitem/sourceindexpath
---

# sourceIndexPath

The index path of the item in the collection view, if any.

## Declaration

```swift
var sourceIndexPath: IndexPath? { get }
```

## Discussion

Discussion If the item originated from the collection view, this property contains the item’s original index path.

## See Also

### Getting the Item Information

- [previewSize](uikit/uicollectionviewdropitem/previewsize.md)
