Press Windows + I to launch the Settings directly.
This will help the mouse pointer from moving accidentally when you are typing something. We can try changing the touchpad delay before the mouse click works. The touchpad is so sensitive sometimes that when you are typing, it registers movement and moves the mouse around. Since the touchpad and the mouse both control the pointer, it is likely that your touchpad is causing the issue. If you are using a laptop, it is recommended that you check the touchpad. In many cases, the wireless mouse runs on batteries and it is likely that the batteries are either drained out or the mouse does not support them. Make sure that the buttons function and the cable isn’t damaged in any way. Ensure that there is no damage and the USB ports, mouse buttons, and the wire are intact and working perfectly. If the moving issue still persists, it is likely that the hardware on the mouse is damaged and it is recommended to buy a new one. Before we move on to other solutions, first we must check if the mouse is actually working as expected.