> For the complete documentation index, see [llms.txt](https://docs.facephi.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.facephi.com/docs.facephi-en/sdks/sdk-web/componentes/selphi-biometria-facial/propiedades/camerarotation.md).

# cameraRotation

## Details

**Attribute:** `camera-rotation`

**Type:** `CameraRotation`

**Default value:** `CameraRotation.DEG0`

### CameraRotation

| Member   | Value | Description                  |
| -------- | ----- | ---------------------------- |
| `DEG0`   | `0`   | No rotation (default value). |
| `DEG90`  | `1`   | 90° rotation.                |
| `DEG180` | `2`   | 180° rotation.               |
| `DEG270` | `3`   | 270° rotation.               |

## Morphology

```typescript
import { CameraRotation } from '@facephi/selphi-web-component';

selphi.cameraRotation = CameraRotation.DEG0;
```

## Description

Rotate the camera orientation. Useful if the device's camera is physically rotated.

***

## Example

```jsx
import { CameraRotation } from '@facephi/selphi-web-component';

<facephi-selphi-widget
    cameraRotation={CameraRotation.DEG0}
/>
```
