---
title: "onHover(perform:)"
framework: swiftui
role: symbol
role_heading: Instance Method
path: "swiftui/tablerowcontent/onhover(perform:)"
---

# onHover(perform:)

Adds an action to perform when the pointer moves onto or away from the entire row.

## Declaration

```swift
@MainActor @preconcurrency func onHover(perform action: @escaping (Bool) -> Void) -> some TableRowContent<Self.TableRowValue>

```

## See Also

### Managing interaction

- [draggable(_:)](swiftui/tablerowcontent/draggable(_:).md)
- [dropDestination(for:action:)](swiftui/tablerowcontent/dropdestination(for:action:).md)
- [itemProvider(_:)](swiftui/tablerowcontent/itemprovider(_:).md)
- [ItemProviderTableRowModifier](swiftui/itemprovidertablerowmodifier.md)
