<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "visionOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SwiftUI",
  "identifier" : "/documentation/SwiftUI/HoverEffectGroup/Behavior/preservesGroup",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI16HoverEffectGroupV8BehaviorV09preservesE0AEvpZ"
  },
  "title" : "preservesGroup"
}
-->

# preservesGroup

Preserves the current phase of the group.

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

## 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.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)