Skip to content

InspectorPointerHit

Defined in: Inspector.ts:149

What the hit test found under a pointer verb’s point, read before any event is dispatched.

consumed: boolean

Defined in: Inspector.ts:167

Whether the hit chain crosses a pointer-consume surface.


path: readonly object[]

Defined in: Inspector.ts:160

Every user-interface node the hit chain crosses, innermost first, and empty when the point reached no node. A button’s label is a node in its own right and sits on top of the button, so the innermost node under a labelled button is its label. Search the chain for the element you mean:

expect(hit.path.some((node) => node.type === "UIButton")).toBe(true);

point: object

Defined in: Inspector.ts:165

The virtual-space point the verb aimed at. A hitTest reports it having dispatched nothing there.

x: number

y: number

Coding agents: fetch https://yage.dev/llms.txt first and prefer the Markdown references it links over these HTML pages. This page's Markdown counterpart is /llms/packages/core.md.