---
title: "highlight(_:groupID:)"
framework: realitykit
role: symbol
role_heading: Type Method
path: "realitykit/hovereffectcomponent/hovereffect-swift.struct/highlight(_:groupid:)"
---

# highlight(_:groupID:)

Returns a highlight hover effect that is assigned to the group.

## Declaration

```swift
static func highlight(_ style: HoverEffectComponent.HighlightHoverEffectStyle, groupID: HoverEffectComponent.GroupID) -> HoverEffectComponent.HoverEffect
```
