type PickState = {
id: number,
hovered: boolean,
pressed: {
left: boolean,
middle: boolean,
right: boolean,
},
presses: {
left: number,
middle: number,
right: number,
},
clicks: {
left: number,
middle: number,
right: number,
},
x: number,
y: number,
moveX: number,
moveY: number,
index: number,
}
packages / workbench / src / interact / pick.ts