# GetTrackingSpaceType()

> Returns the device's current TrackingSpaceType. This value determines how the camera is positioned relative to its starting position. For more, see the section "Understanding the camera" in VROverview.

## Definition

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

> **Warning:**
>
> **Removed.** XRDevice.GetTrackingSpaceType is deprecated, and should no longer be used. Please use XRInputSubsystem.GetTrackingOriginMode.

```csharp
public static TrackingSpaceType GetTrackingSpaceType()
```

### Returns

| Type                                                                                     | Description                             |
| ---------------------------------------------------------------------------------------- | --------------------------------------- |
| [TrackingSpaceType](/engine/6000.6/script-reference/unityengine/xr/trackingspacetype.md) | The device's current TrackingSpaceType. |
