---
title: "collectionView(_:sceneActivationConfigurationForItemAt:point:)"
framework: uikit
role: symbol
role_heading: Instance Method
path: "uikit/uicollectionviewdelegate/collectionview(_:sceneactivationconfigurationforitemat:point:)"
---

# collectionView(_:sceneActivationConfigurationForItemAt:point:)

Returns a scene activation configuration that allows the cell to expand into a new scene.

## Declaration

```swift
optional func collectionView(_ collectionView: UICollectionView, sceneActivationConfigurationForItemAt indexPath: IndexPath, point: CGPoint) -> UIWindowScene.ActivationConfiguration?
```

## Parameters

- `collectionView`: The collection view.
- `indexPath`: The index path of the cell with which the user is interacting.
- `point`: The location of the interaction in the collection view’s coordinate space.

## Return Value

Return Value A UIWindowScene.ActivationConfiguration object that facilitates expanding the cell into a new scene. Return nil to prevent the interaction from starting.
