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

# position

The layer’s position in its superlayer’s coordinate space. Animatable.

## Declaration

```swift
var position: CGPoint { get set }
```

## Discussion

Discussion The value of this property is specified in points and is always specified relative to the value in the anchorPoint property. For new standalone layers, the default position is set to (0.0, 0.0). Changing the frame property also updates the value in this property. For more information about the relationship between the frame, bounds, anchorPoint and position properties, see Core Animation Programming Guide.

## See Also

### Modifying the layer geometry

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