# FitHorizontally

> Resize the image proportionally so that the width fits the target area.

## Definition

* **Type:** Field
* **Namespace:** [UnityEngine.Video](/engine/6000.6/script-reference/unityengine/video.md)
* **Assembly:** UnityEngine.VideoModule

```csharp
FitHorizontally = 2
```

### Remarks

The [VideoPlayer](/engine/6000.6/script-reference/unityengine/video/videoplayer.md) automatically crops the image if needed.
