# FitVertically

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

## Definition

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

```csharp
FitVertically = 1
```

### Remarks

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