| Parameter | Description |
|---|---|
| handler | The VisualElement that captures the pointer. |
| pointerId | The pointer to capture. |
Captures the pointer.
When a VisualElement captures a pointer, all pointer events are sent to the element, regardless of which element is under the pointer.