---
title: anchorPointZ
framework: quartzcore
role: symbol
role_heading: Instance Property
path: quartzcore/calayer/anchorpointz
---

# anchorPointZ

The anchor point for the layer’s position along the z axis. Animatable.

## Declaration

```swift
var anchorPointZ: CGFloat { get set }
```

## Discussion

Discussion This property specifies the anchor point on the z axis around which geometric manipulations occur. The point is expressed as a distance (measured in points) along the z axis. The default value of this property is 0.

## See Also

### Modifying the layer geometry

- [frame](quartzcore/calayer/frame.md)
- [bounds](quartzcore/calayer/bounds.md)
- [position](quartzcore/calayer/position.md)
- [zPosition](quartzcore/calayer/zposition.md)
- [anchorPoint](quartzcore/calayer/anchorpoint.md)
- [contentsScale](quartzcore/calayer/contentsscale.md)
