# Click and Drag mouse doesn’t work sometimes

**Description**  
Combination of [Click image](http://leaptest.com/support/documentation/reference/the-building-blocks/mouse-and-keyboard/click-image) block followed by a [Drag mouse](http://leaptest.com/support/documentation/reference/the-building-blocks/mouse-and-keyboard/drag-mouse) block may perform a double click as after [Click image Drag mouse](http://leaptest.com/support/documentation/reference/the-building-blocks/mouse-and-keyboard/drag-mouse) will also click on the block and try to perform dragging afterward this combination sometime results in double click instead of dragging.

**Resolution**  
The way out is to add a Wait block with at least a 1-second delay so that [Click image](http://leaptest.com/support/documentation/reference/the-building-blocks/mouse-and-keyboard/click-image) [Drag mouse](http://leaptest.com/support/documentation/reference/the-building-blocks/mouse-and-keyboard/drag-mouse) is treated as two separate operations.

Please note that the required delay depends on your double click speed in the computer settings. To check these settings, please go to > Mouse & touchpad in System settings of your computer > Additional Mouse Options > Buttons. There you can adjust the speed of a double click.

If you want the delay in the test case to be the shortest, choose the fastest speed in the mouse settings.

For any clarification, please contact our [Priority Support](https://support.leapwork.com/s/article/ClickandDragmousedoesntworksometimes6330703730bf2).
