LiveKit docs › Hooks › useFacingMode

---

# useFacingMode

> ℹ️ **Note**
> 
> This feature is experimental and may change or be removed based on developer feedback and real-world usage.

Try to determine the `facingMode` of a local participant video track.

## Import

```typescript
import { useFacingMode } from "@livekit/components-react";

```

## Remarks

Works only on local video tracks.

## Properties

- **`trackReference`** _(TrackReferenceOrPlaceholder)_: 

## Returns

```typescript
"user" | "environment" | "left" | "right" | "undefined";

```

---

This document was rendered at 2026-06-07T11:32:07.260Z.
For the latest version of this document, see [https://docs.livekit.io/reference/components/react/hook/usefacingmode.md](https://docs.livekit.io/reference/components/react/hook/usefacingmode.md).

To explore all LiveKit documentation, see [llms.txt](https://docs.livekit.io/llms.txt).