---
title: isHoverEffectEnabled
framework: swiftui
role: symbol
role_heading: Instance Property
path: swiftui/environmentvalues/ishovereffectenabled
---

# isHoverEffectEnabled

A Boolean value that indicates whether the view associated with this environment allows hover effects to be displayed.

## Declaration

```swift
var isHoverEffectEnabled: Bool { get set }
```

## Discussion

Discussion The default value is true.

## See Also

### Responding to hover events

- [onHover(perform:)](swiftui/view/onhover(perform:).md)
- [onContinuousHover(coordinateSpace:perform:)](swiftui/view/oncontinuoushover(coordinatespace:perform:).md)
- [hoverEffect(_:isEnabled:)](swiftui/view/hovereffect(_:isenabled:).md)
- [hoverEffectDisabled(_:)](swiftui/view/hovereffectdisabled(_:).md)
- [defaultHoverEffect(_:)](swiftui/view/defaulthovereffect(_:).md)
- [HoverPhase](swiftui/hoverphase.md)
- [HoverEffectPhaseOverride](swiftui/hovereffectphaseoverride.md)
- [OrnamentHoverContentEffect](swiftui/ornamenthovercontenteffect.md)
- [OrnamentHoverEffect](swiftui/ornamenthovereffect.md)
