---
title: worldAlignment
framework: arkit
role: symbol
role_heading: Instance Property
path: arkit/arconfiguration/worldalignment-swift.property
---

# worldAlignment

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

## Declaration

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

## Mentioned in

Understanding World Tracking

## Discussion

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 objects you create or that the AR session detects are positioned relative to that coordinate system. See ARConfiguration.WorldAlignment for possible values.

## See Also

### Configuring the AR session

- [isLightEstimationEnabled](arkit/arconfiguration/islightestimationenabled.md)
- [ARConfiguration.WorldAlignment](arkit/arconfiguration/worldalignment-swift.enum.md)
