---
title: centerIndexPath
framework: tvuikit
role: symbol
role_heading: Instance Property
path: tvuikit/tvcollectionviewfullscreenlayout/centerindexpath
---

# centerIndexPath

The index path of the currently centered item.

## Declaration

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

## Discussion

Discussion The centerIndexPath property returns the index path of the cell currently centered on the screen. TVUIKit calculates the current index path using the current content offset of the collection view.
