# direction

> The direction of the capsule.

## Definition

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

```csharp
public int direction { get; set; }
```

### Remarks

The value can be 0, 1 or 2 corresponding to the X, Y and Z axes, respectively.
