# PointerType

> A static class that holds pointer type values.

## Definition

* **Type:** Class
* **Namespace:** [UnityEngine.UIElements](/engine/6000.7/script-reference/unityengine/uielements.md)
* **Assembly:** UnityEngine.UIElementsModule

```csharp
public static class PointerType
```

## Remarks

These values are used as the values for IPointerEvent.pointerType.

## Static Fields

| Value                                                                                    | Description                                                                                                                                                                                              |
| ---------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [mouse](/engine/6000.7/script-reference/unityengine/uielements/pointertype/mouse.md)     | The pointer type for mouse events.                                                                                                                                                                       |
| [pen](/engine/6000.7/script-reference/unityengine/uielements/pointertype/pen.md)         | The pointer type for pen events.                                                                                                                                                                         |
| [touch](/engine/6000.7/script-reference/unityengine/uielements/pointertype/touch.md)     | The pointer type for touch events.                                                                                                                                                                       |
| [tracked](/engine/6000.7/script-reference/unityengine/uielements/pointertype/tracked.md) | The pointer type for tracked device events. See for example InputSystem's [XRController](https://docs.unity3d.com/Packages/com.unity.inputsystem@1.12/api/UnityEngine.InputSystem.XR.XRController.html). |
| [unknown](/engine/6000.7/script-reference/unityengine/uielements/pointertype/unknown.md) | The pointer type for events created by unknown devices.                                                                                                                                                  |
