# trackingOriginUpdated

> An event that takes the delegate instance that the XRInputSubsystem calls when it changes the origin it reports devices at.

## Definition

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

```csharp
public event Action<XRInputSubsystem> trackingOriginUpdated
```

### Remarks

This can be due to a change in the [TrackingOriginModeFlags](/engine/6000.7/script-reference/unityengine/xr/trackingoriginmodeflags.md) or from the [XRInputSubsystem](/engine/6000.7/script-reference/unityengine/xr/xrinputsubsystem.md) moving the location of the origin without changing the type. See `XRInputSubsystem.GetTrackingOrigin` in order to see the new [TrackingOriginModeFlags](/engine/6000.7/script-reference/unityengine/xr/trackingoriginmodeflags.md).
