@twinfinity/coreFunctionsgetMouseEventPressedButtonsgetMouseEventPressedButtons CallablegetMouseEventPressedButtons(mouseEvent: Pick<MouseEvent, buttons>): Set<number>Parse the MouseEvent.buttons property into a collection of buttons ids corresponding to possible ids that MouseEvent.button can assume. In essence a collection of currently pressed pointer event buttons.ParametersmouseEvent: Pick<MouseEvent, buttons>MouseEvent.buttonsReturns Set<number>Collection of buttons ids.
Parse the
MouseEvent.buttonsproperty into a collection of buttons ids corresponding to possible ids thatMouseEvent.buttoncan assume. In essence a collection of currently pressed pointer event buttons.