Contents

isHittable

Determines if the system can compute a hit point for the element.

Declaration

var isHittable: Bool { get }

Discussion

isHittable returns true if the element exists and can be clicked, tapped, or pressed at its current location. It returns false if the element doesn’t exist, is offscreen, or is covered by another element.

See Also

Querying element state