<!--
{
  "availability" : [
    "iOS: 18.0.0 -",
    "iPadOS: 18.0.0 -",
    "macCatalyst: 18.0.0 -",
    "macOS: 15.0.0 -",
    "visionOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "RealityKit",
  "identifier" : "/documentation/RealityKit/HoverEffectComponent/OpacityFunction/full",
  "metadataVersion" : "0.1.0",
  "role" : "Case",
  "symbol" : {
    "kind" : "Case",
    "modules" : [
      "RealityKit"
    ],
    "preciseIdentifier" : "s:17RealityFoundation20HoverEffectComponentV15OpacityFunctionO4fullyA2EmF"
  },
  "title" : "HoverEffectComponent.OpacityFunction.full"
}
-->

# HoverEffectComponent.OpacityFunction.full

Applies an opaque hover effect and ignores the opacity of the entity’s base material.

```
case full
```

## Discussion

In this example, a rounded black rectangle continuously transitions between transparent and fully opaque. Applying a green highlight hover effect with the full opacity function to the rectangle draws the effect with full opacity and ignores the opacity of the rectangle.

![A screen recording of a living room with a partially transparent green rectangle in the center of it. The green rectangle fades in to full opacity and becomes darker before fading out again and becoming partially transparent.](videos/com.apple.RealityKit/hovereffectcomponent-opacityfunction-full.mp4)

---

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)