<!--
{
  "availability" : [
    "iOS: 11.0.0 -",
    "iPadOS: 11.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "ARKit",
  "identifier" : "/documentation/ARKit/ARConfiguration/worldAlignment-swift.property",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "ARKit"
    ],
    "preciseIdentifier" : "c:objc(cs)ARConfiguration(py)worldAlignment"
  },
  "title" : "worldAlignment"
}
-->

# worldAlignment

A value specifying how the session maps real-world device motion into a 3D scene coordinate system.

```
var worldAlignment: ARConfiguration.WorldAlignment { get set }
```

## Discussion

Creating an AR experience depends on being able to construct a coordinate system for placing objects in a virtual 3D world that maps to the real-world position and motion of the device. When you run a session configuration, ARKit creates a scene coordinate system based on the position and orientation of the device; any [`ARAnchor`](/documentation/ARKit/ARAnchor) objects you create or that the AR session detects are positioned relative to that coordinate system.

See [`ARConfiguration.WorldAlignment`](/documentation/ARKit/ARConfiguration/WorldAlignment-swift.enum) for possible values.

---

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)