---
title: levelSelection
framework: realitykit
role: symbol
role_heading: Instance Property
path: realitykit/levelofdetailcomponent/levelselection-swift.property
---

# levelSelection

The level selection mode. Defaults to automatic selection based on the strategy.

## Declaration

```swift
var levelSelection: LevelOfDetailComponent.LevelSelection
```

## See Also

### Choosing a level

- [strategy](realitykit/levelofdetailcomponent/strategy.md)
- [LevelOfDetailComponent.SelectionStrategy](realitykit/levelofdetailcomponent/selectionstrategy.md)
- [LevelOfDetailComponent.LevelSelection](realitykit/levelofdetailcomponent/levelselection-swift.struct.md)
