<!--
{
  "availability" : [
    "iOS: 2.0.0 -",
    "iPadOS: 2.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.5.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "QuartzCore",
  "identifier" : "/documentation/QuartzCore/CALayer/position",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Core Animation"
    ],
    "preciseIdentifier" : "c:objc(cs)CALayer(py)position"
  },
  "title" : "position"
}
-->

# position

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

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

## Discussion

The value of this property is specified in points and is always specified relative to the value in the [`anchorPoint`](/documentation/QuartzCore/CALayer/anchorPoint) property. For new standalone layers, the default position is set to (0.0, 0.0). Changing the [`frame`](/documentation/QuartzCore/CALayer/frame) property also updates the value in this property.

For more information about the relationship between the [`frame`](/documentation/QuartzCore/CALayer/frame), [`bounds`](/documentation/QuartzCore/CALayer/bounds), [`anchorPoint`](/documentation/QuartzCore/CALayer/anchorPoint) and [`position`](/documentation/QuartzCore/CALayer/position) properties, see [Core Animation Programming Guide](https://developer.apple.com/library/archive/documentation/Cocoa/Conceptual/CoreAnimation_guide/Introduction/Introduction.html#//apple_ref/doc/uid/TP40004514).

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)