---
title: height
framework: realitykit
role: symbol
role_heading: Instance Property
path: realitykit/clothcapsuleshape/height
---

# height

The length of the cylinder portion of the capsule.

## Declaration

```swift
var height: Float { get set }
```

## Discussion

Discussion Must be positive.
