# HoverInteraction

Artifact: [androidx.compose.foundation:foundation](https://developer.android.com/jetpack/androidx/releases/compose-foundation) [View Source](https://cs.android.com/search?q=file:androidx/compose/foundation/interaction/HoverInteraction.kt+class:androidx.compose.foundation.interaction.HoverInteraction) Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/compose-foundation#1.1.0) Common/All
- Cmn

  ```
  interface HoverInteraction : Interaction
  ```
Known direct subclasses [HoverInteraction.Enter](https://developer.android.com/reference/kotlin/androidx/compose/foundation/interaction/HoverInteraction.Enter), [HoverInteraction.Exit](https://developer.android.com/reference/kotlin/androidx/compose/foundation/interaction/HoverInteraction.Exit)

|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/interaction/HoverInteraction.Enter` | An interaction representing a hover event on a component. |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/interaction/HoverInteraction.Exit` | An interaction representing a `https://developer.android.com/reference/kotlin/androidx/compose/foundation/interaction/HoverInteraction.Enter` event being released on a component. |

*** ** * ** ***

An interaction related to hover events.

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/hoverable.modifier#(androidx.compose.ui.Modifier).hoverable(androidx.compose.foundation.interaction.MutableInteractionSource,kotlin.Boolean)` |   |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/interaction/HoverInteraction.Enter` |   |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/interaction/HoverInteraction.Exit` |   |

## Summary

| ### Nested types |
|---|
| `class https://developer.android.com/reference/kotlin/androidx/compose/foundation/interaction/HoverInteraction.Enter : https://developer.android.com/reference/kotlin/androidx/compose/foundation/interaction/HoverInteraction` An interaction representing a hover event on a component. |
| `class https://developer.android.com/reference/kotlin/androidx/compose/foundation/interaction/HoverInteraction.Exit : https://developer.android.com/reference/kotlin/androidx/compose/foundation/interaction/HoverInteraction` An interaction representing a `https://developer.android.com/reference/kotlin/androidx/compose/foundation/interaction/HoverInteraction.Enter` event being released on a component. |