# PointerCaptureHelper

> A static class to capture and release pointers.

## Definition

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

```csharp
public static class PointerCaptureHelper
```

## Static Methods

| Method                                                                                                                    | Description                                                                                       |
| ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- |
| [CapturePointer](/engine/6000.0/script-reference/unityengine/uielements/pointercapturehelper/capturepointer.md)           | Captures the pointer.                                                                             |
| [GetCapturingElement](/engine/6000.0/script-reference/unityengine/uielements/pointercapturehelper/getcapturingelement.md) | Returns the element that is capturing the pointer.                                                |
| [HasPointerCapture](/engine/6000.0/script-reference/unityengine/uielements/pointercapturehelper/haspointercapture.md)     | Tests whether the element has captured the pointer.                                               |
| [ReleasePointer](/engine/6000.0/script-reference/unityengine/uielements/pointercapturehelper/releasepointer.md)           | Tests whether an element captured a pointer and, if so, tells the element to release the pointer. |
