---
title: isFocusEffectEnabled
framework: swiftui
role: symbol
role_heading: Instance Property
path: swiftui/environmentvalues/isfocuseffectenabled
---

# isFocusEffectEnabled

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

## Declaration

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

## Discussion

Discussion The default value is true.

## See Also

### Configuring effects

- [focusEffectDisabled(_:)](swiftui/view/focuseffectdisabled(_:).md)
