Contents

isHovered

A Boolean value that indicates whether a pointer effect is active.

Declaration

var isHovered: Bool { get }

Discussion

If you enable pointer interaction by setting isPointerInteractionEnabled, this property indicates the button has an active pointer effect.

See Also

Related Documentation

Supporting pointer interactions