# aspect

> The aspect ratio (width divided by height).

## Definition

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

```csharp
public float aspect { get; set; }
```

### Remarks

By default the aspect ratio is automatically calculated from the screen's aspect ratio, even if the camera is not rendering to full area. If you modify the aspect ratio of the camera, the value will stay until you call camera.ResetAspect(); which resets the aspect to the screen's aspect ratio.

Additional Resources: [camera component](/engine/6000.0/manual/cameras/birp/class-camera.md), [Screen](/engine/6000.0/script-reference/unityengine/screen.md) class.
