The hover effect is activated by either gaze or a direct touch (finger), depending on how the InputTargetComponent is set for the entity.
You'll need to set the input target component for any interactions with entities, and the default initialiser (InputTargetComponent()) allows both direct (touch) and indirect (gaze + pinch) interactions to trigger the hover effect.
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags: