---
title: "pointerInteraction(_:willEnter:animator:)"
framework: uikit
role: symbol
role_heading: Instance Method
path: "uikit/uipointerinteractiondelegate/pointerinteraction(_:willenter:animator:)"
---

# pointerInteraction(_:willEnter:animator:)

Informs the delegate when the pointer enters a given region.

## Declaration

```swift
optional func pointerInteraction(_ interaction: UIPointerInteraction, willEnter region: UIPointerRegion, animator: any UIPointerInteractionAnimating)
```

## Parameters

- `interaction`: This doc://com.apple.uikit/documentation/UIKit/UIPointerInteraction.
- `region`: The doc://com.apple.uikit/documentation/UIKit/UIPointerRegion that represents the entire surface of the interaction’s view.
- `animator`: The animator the framework runs when the pointer enters the region. Add animations to run them alongside the pointer’s entrance animation.

## See Also

### Handling animations for pointer regions

- [pointerInteraction(_:willExit:animator:)](uikit/uipointerinteractiondelegate/pointerinteraction(_:willexit:animator:).md)
