# FITMODE_COVER

Variable · category: User Interface

Source: https://github.com/playcanvas/engine/blob/970d89f6d3bc6667f4e1f88153abd6e7e82ed52c/src/framework/components/element/constants.js#L41

Fit the content to cover the entire Element's bounding box while preserving its Aspect Ratio.

```ts
const FITMODE_COVER: "cover" = 'cover'
```
