# InputTracking

> A collection of methods and properties for accessing XR input devices by their XR Node representation.

## Definition

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

```csharp
public static class InputTracking
```

## Remarks

XR devices can be accessed in different ways, with the XR Node representing a physical input source such as a head position, hand, or camera.

See [XR Input](/engine/6000.0/manual/input/xr_input.md) for an overview of accessing XR devices.

## Static Methods

| Method                                                                                         | Description                                                                                |
| ---------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------ |
| [GetNodeStates](/engine/6000.0/script-reference/unityengine/xr/inputtracking/getnodestates.md) | Describes all currently connected XRNodes and provides available tracking states for each. |

## Static Events

| Member                                                                                               | Description                                                          |
| ---------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------- |
| [nodeAdded](/engine/6000.0/script-reference/unityengine/xr/inputtracking/nodeadded.md)               | Called when a tracked node is added to the underlying XR system.     |
| [nodeRemoved](/engine/6000.0/script-reference/unityengine/xr/inputtracking/noderemoved.md)           | Called when a tracked node is removed from the underlying XR system. |
| [trackingAcquired](/engine/6000.0/script-reference/unityengine/xr/inputtracking/trackingacquired.md) | Called when a tracked node begins reporting tracking information.    |
| [trackingLost](/engine/6000.0/script-reference/unityengine/xr/inputtracking/trackinglost.md)         | Called when a tracked node stops reporting tracking information.     |
