---
title: "screenArea(_:)"
framework: realitykit
role: symbol
role_heading: Type Method
path: "realitykit/levelofdetailcomponent/selectionstrategy/screenarea(_:)"
---

# screenArea(_:)

Switch levels based on projected screen area (0.0 = invisible, 1.0 = fills screen).

## Declaration

```swift
static func screenArea(_ thresholds: [Float]) -> LevelOfDetailComponent.SelectionStrategy
```

## Discussion

Discussion Each threshold specifies the minimum screen area for a level, in descending order.

## See Also

### Creating a strategy

- [cameraDistance(_:)](realitykit/levelofdetailcomponent/selectionstrategy/cameradistance(_:).md)
