---
title: centered
framework: realitykit
role: symbol
role_heading: Type Property
path: realitykit/realityviewlayoutoption/centered
---

# centered

The option that centers the visual content within a flexible frame.

## Declaration

```swift
static let centered: RealityViewLayoutOption
```

## Mentioned in

Controlling the layout behavior of a reality view
