---
title: depth
framework: usdkit
role: symbol
role_heading: Instance Property
path: usdkit/usdlayer/path/depth
---

# depth

The number of components in the path.

## Declaration

```swift
var depth: Int { get }
```
