# height

> The height of the character's capsule.

## Definition

* **Type:** Property
* **Namespace:** [UnityEngine](/engine/6000.7/script-reference/unityengine.md)
* **Assembly:** UnityEngine.PhysicsModule

```csharp
public float height { get; set; }
```

### Examples

```csharp
using UnityEngine;

public class Example : MonoBehaviour
{
    // Set the controller height to 2.0
    CharacterController controller;

    void Start()
    {
        controller = GetComponent<CharacterController>();
        controller.height = 2.0f;
    }
}
```
