---
title: "Mouse Input"
category: 04-action-execution
level: basic
stability: stable
description: "Apply mouse input in AI agent workflows."
added: "2025-03"
---

![Dependency Status](https://img.shields.io/endpoint?url=https://samotech.github.io/skills-tree/badges/skills-04-action-execution-mouse-input.json)

# Mouse Input

**Category:** `action-execution`  
**Skill Level:** `basic`  
**Stability:** `stable`
**Added:** 2025-03

### Description

Simulate mouse movements, clicks, right-clicks, and double-clicks at specified screen coordinates.

### Example

```python
import pyautogui
pyautogui.moveTo(960, 540, duration=0.3)
pyautogui.click()
pyautogui.rightClick(200, 300)
```

### Related Skills

- [Keyboard Input](keyboard-input.md)
- [Mouse Click](../10-computer-use/mouse-click.md)
