---
title: currentLayout
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uicollectionviewtransitionlayout/currentlayout
---

# currentLayout

The collection view’s current layout object.

## Declaration

```swift
var currentLayout: UICollectionViewLayout { get }
```

## Discussion

Discussion This object provides the layout attributes representing the initial position of items in the collection view. If you ultimately cancel the transition, the collection view animates its items back to the positions provided by this object.

## See Also

### Accessing the layout objects

- [nextLayout](uikit/uicollectionviewtransitionlayout/nextlayout.md)
