---
title: ScreenOrientation.angle
slug: Web/API/ScreenOrientation/angle
tags:
  - API
  - Orientation
  - Property
  - Reference
  - Screen Orientation API
  - ScreenOrientation
  - angle
browser-compat: api.ScreenOrientation.angle
---
{{APIRef("Screen Orientation")}}

The **`angle`** read-only property of the
{{domxref("ScreenOrientation")}} interface returns the document's current orientation
angle.

## Syntax

```js
angle = screen.orientation.angle
```

### Value

An unsigned short integer.

## Specifications

{{Specifications}}

## Browser compatibility

{{Compat}}
