Newer (Pointer Events level 3) angle in radians between the surface and the pen barrel. π/2 = perpendicular to the surface. Undefined on browsers that haven't shipped the field yet.
Newer angle in radians around the Z axis. Undefined on browsers without level-3 support.
True between pointerenter and pointerleave events on the target
element. iPad Safari fires these for Apple Pencil hover (on iPad Pro
/ Pencil Pro), so this lights up when the pen is detected near the
glass without contact.
Convenience: pointerType === 'pen'.
Raw pointerType from the event ('mouse' | 'pen' | 'touch' | '').
0..1. Mouse and ordinary touch report 0 when no button is held and 0.5 while a button is held (per the Pointer Events spec). Stylus inputs report a true pressure curve.
Tilt of the pen in degrees from the surface normal, projected onto the X axis. Range ±90. Zero for mouse/touch.
Tilt projected onto the Y axis. Range ±90. Zero for mouse/touch.
Rotation of the pen barrel in degrees. Apple Pencil Pro reports this natively but Safari does NOT yet surface it via PointerEvent.twist — expect 0 there. Some Wacom stylus drivers do report it.
State exposed by
usePointerStylus— the most recent stylus snapshot plus ahoveringflag for the Pencil 2 / Pencil Pro "near-surface but not touching" event stream.