---
title: depth
framework: swiftui
role: symbol
role_heading: Instance Property
path: swiftui/alignment3d/depth
---

# depth

The alignment on the depth axis.

## Declaration

```swift
var depth: DepthAlignment
```
