---
title: preservesGroup
framework: swiftui
role: symbol
role_heading: Type Property
path: swiftui/hovereffectgroup/behavior/preservesgroup
---

# preservesGroup

Preserves the current phase of the group.

## Declaration

```swift
static let preservesGroup: HoverEffectGroup.Behavior
```

## Discussion

Discussion Use this behavior when an effect should not activate other effects in a group, unless the group already active. This is useful for describing which parts of a view should trigger an effect, while allowing other areas to simply prevent the effect from ending.
