How do i make drag deselection

I am using select2 as an extension on qlik sense. Select2 allows to select buttons in a grid by dragging the mouse. I want to be able to deselect them if they are already selected by also dragging the mouse instead of having to clicking each one individualy to deselect