Function

pointerHoverIcon

When present, this modifier defines how the pointer icon will be displayed when the spatial pointer hovers over an element.

RevenueCat

RevenueCat

Add subscriptions to your apps in minutes

Ad Get started for free

pointerHoverIcon

Android
public fun SubspaceModifier.pointerHoverIcon(icon: SpatialPointerIcon): SubspaceModifier

When present, this modifier defines how the pointer icon will be displayed when the spatial pointer hovers over an element. Any child elements will inherit the pointer icon setting that this modifier defines for their parent element upon hovering.

Parameters

icon The SpatialPointerIcon to be displayed on hover.

Returns

A SubspaceModifier that includes the hover icon behavior.