<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "macCatalyst: -",
    "macOS: -",
    "tvOS: -",
    "visionOS: -",
    "watchOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "SpriteKit",
  "identifier" : "/documentation/SpriteKit/SKScene/anchorPoint",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "SpriteKit"
    ],
    "preciseIdentifier" : "c:objc(cs)SKScene(py)anchorPoint"
  },
  "title" : "anchorPoint"
}
-->

# anchorPoint

The point in the view’s frame that corresponds to the scene’s origin.

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

## Discussion

When a scene is presented and a camera node has not been specified, the [`size`](/documentation/SpriteKit/SKScene/size) and [`anchorPoint`](/documentation/SpriteKit/SKScene/anchorPoint) properties determine which part of the scene’s coordinate space is visible in the view.

You specify the value using the unit coordinate space. The default value is `(0,0)`, which corresponds to the lower-left corner of the view’s frame rectangle.

---

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)