Rezi
    Preparing search index...

    Function hitTestLayers

    • Hit test layers to find which layer contains a point. Returns the topmost layer containing the point, respecting modal blocking. Order is deterministic: higher z-index first, then later registration for equal z-index.

      Parameters

      • registry: LayerRegistry

        Layer registry

      • x: number

        X coordinate to test

      • y: number

        Y coordinate to test

      Returns LayerHitTestResult

      Hit test result