---
title: highlight
framework: swiftui
role: symbol
role_heading: Type Property
path: swiftui/customhovereffect/highlight
---

# highlight

A hover effect that highlights views using a light source to indicate position.

## Declaration

```swift
static var highlight: HighlightHoverEffect { get }
```

## Discussion

Discussion For pointer input this effect morphs the pointer into a platter behind the view and shows a light source indicating position. On tvOS it applies a projection effect accompanied with a specular highlight on the view when contained within a focused view. It also incorporates motion effects to produce a parallax effect by adjusting the projection matrix and specular offset. On visionOS this effect applies a glow effect based on where the user is looking or touching the view.

## See Also

### Getting built-in hover effects

- [automatic](swiftui/customhovereffect/automatic.md)
- [empty](swiftui/customhovereffect/empty.md)
- [lift](swiftui/customhovereffect/lift.md)
