## Mouse movement while Desktop automation

Leapwork manages system mouse movement while inspecting Desktop applications; it does not affect Web automation at all. This option must be used in both Single elements capturing mode and Smart Recorder.

You can find this option under the "Leapwork Studio -> Settings -> Capture" section and it is represented by a dropdown with 3 options:

1. **Automatic (default option)**  
   - Keeps mouse frozen for all applications except Java  
   - If the user inspects the Java application, Leapwork will allow the user to move the real system's mouse to capture Java Bridge events  
   - If the user leaves the Java application, the system mouse again becomes frozen.

2. **Use Leapwork cursor**  
   - Always keep the system mouse frozen

3. **Use Desktop cursor**  
   - Free system mouse allows the user to move the real system's mouse; must be used carefully because it might affect automation.

**For clarification, please contact our [Priority Support](mailto:prioritysupport@leapwork.com).**
