---
title: preservesDepth
framework: quartzcore
role: symbol
role_heading: Instance Property
path: quartzcore/careplicatorlayer/preservesdepth
---

# preservesDepth

Defines whether this layer flattens its sublayers into its plane.

## Declaration

```swift
var preservesDepth: Bool { get set }
```

## Discussion

Discussion If true, the layer acts similarly to the CATransformLayer and has the same restrictions. Default is false.
