---
title: automaticallyConfigureSession
framework: realitykit
role: symbol
role_heading: Instance Property
path: realitykit/arview/automaticallyconfiguresession
---

# automaticallyConfigureSession

An indication of whether to use an automatically configured AR session.

## Declaration

```swift
@MainActor @preconcurrency var automaticallyConfigureSession: Bool { get set }
```

## Discussion

Discussion When enabled, the ARView automatically runs an RealityKit/ARSession with a default configuration. RealityKit updates that configuration based  on t camera mode and scene anchors. When disabled, you need to provide a configuration object and run the session manually. The default value is true.

## See Also

### Configuring the AR session

- [session](realitykit/arview/session.md)
- [renderOptions](realitykit/arview/renderoptions-swift.property.md)
- [renderCallbacks](realitykit/arview/rendercallbacks-swift.property.md)
