<!--
{
  "availability" : [
    "iOS: 9.0.0 -",
    "iPadOS: 9.0.0 -",
    "macCatalyst: 13.1.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UICollectionView/beginInteractiveMovementForItem(at:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(cs)UICollectionView(im)beginInteractiveMovementForItemAtIndexPath:"
  },
  "title" : "beginInteractiveMovementForItem(at:)"
}
-->

# beginInteractiveMovementForItem(at:)

Initiates the interactive movement of the item at the specified index path.

```
func beginInteractiveMovementForItem(at indexPath: IndexPath) -> Bool
```

## Parameters

`indexPath`

The index path of the item you want to move.

## Return Value

<doc://com.apple.documentation/documentation/Swift/true> if it is possible to move the item or <doc://com.apple.documentation/documentation/Swift/false> if the item is not allowed to move.

## Discussion

Call this method when you want to begin the interactive movement of an item from its current location to a new location within the same collection view. When using a gesture recognizer to track movements of the item, call this method from your handler method when the gesture recognition process begins. When interactions with the item end, you must call either the [`endInteractiveMovement()`](/documentation/UIKit/UICollectionView/endInteractiveMovement()) or [`cancelInteractiveMovement()`](/documentation/UIKit/UICollectionView/cancelInteractiveMovement()) method to inform the collection view of that fact.

When you call this method, the collection view consults its delegate to make sure the item can be moved. If the data source does not support the movement of the item, this method returns <doc://com.apple.documentation/documentation/Swift/false>.

---

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)