# direction

> The direction of the ray.

## Definition

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

```csharp
public Vector3 direction { readonly get; set; }
```

### Remarks

Direction is always a normalized vector. If you assign a vector of non unit length, it will be normalized.
