---
title: invalidate()
framework: uikit
role: symbol
role_heading: Instance Method
path: uikit/uipointerinteraction/invalidate()
---

# invalidate()

Causes the interaction to update the pointer in response to an event.

## Declaration

```swift
func invalidate()
```
