getPointerInfo
Public function
Signature
function getPointerInfo(e: PointerEvent | React.PointerEvent): {
altKey: boolean
button: number
ctrlKey: boolean
isPen: boolean
point: {
x: number
y: number
z: number
}
pointerId: number
shiftKey: boolean
}
Parameters
Name | Description |
---|---|
|
|
Returns
{
altKey: boolean
button: number
ctrlKey: boolean
isPen: boolean
point: {
x: number
y: number
z: number
}
pointerId: number
shiftKey: boolean
}
Source