Function

pointerHoverIcon

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

pointerHoverIcon

Source set: 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.

Last updated: