# Recenter()

> Center tracking to the current position and orientation of the HMD.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine.XR](/engine/6000.7/script-reference/unityengine/xr.md)
* **Assembly:** UnityEngine.XRModule

> **Warning:**
>
> **Deprecated.** This API is obsolete, and should no longer be used. Please use XRInputSubsystem.TryRecenter() instead.

```csharp
public static void Recenter()
```

### Remarks

This only works with seated and standing experiences. Room scale experiences are not affected by Recenter.
