---
title: "pointerInteraction(_:styleFor:)"
framework: uikit
role: symbol
role_heading: Instance Method
path: "uikit/uipointerinteractiondelegate/pointerinteraction(_:stylefor:)"
---

# pointerInteraction(_:styleFor:)

Asks the delegate for a pointer style after an interaction receives a new region.

## Declaration

```swift
optional func pointerInteraction(_ interaction: UIPointerInteraction, styleFor region: UIPointerRegion) -> UIPointerStyle?
```

## 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.

## Return Value

Return Value A UIPointerStyle describing the desired hover effect or pointer appearance for the given UIPointerRegion.

## See Also

### Defining pointer styles for regions

- [pointerInteraction(_:regionFor:defaultRegion:)](uikit/uipointerinteractiondelegate/pointerinteraction(_:regionfor:defaultregion:).md)
