One position a pointer passed through during a drag, in the same media px space as the payload's point (container x, pane-local y). pressure is the pointer events convention: 0..1 from hardware that measures it, 0.5 while a button that cannot is held, 0 when nothing is known.

interface PointerSample {
    pressure: number;
    x: number;
    y: number;
}

Properties

Properties

pressure: number
x: number
y: number