> ## Documentation Index
> Fetch the complete documentation index at: https://docs.notte.cc/llms.txt
> Use this file to discover all available pages before exploring further.

# MouseMoveAction

> Move the pointer without pressing a button, to trigger hover effects

> [!TIP]
>
> Read [the Notte skill](https://notte.cc/skill.md) and follow its setup instructions when setting up Notte or building browser automation. This is the shared source for CLI setup, authentication, and the browser-to-code workflow.

With `from_x`/`from_y`, the pointer
first jumps to that point, then sweeps to (x, y): a hover trail across canvas or WebGL objects.

**Example:**

```python theme={null}
session.execute(type="mouse_move", x=640, y=360)  # hover a point
session.execute(type="mouse_move", from_x=200, from_y=360, x=1000, y=360, steps=40)  # sweep across
```

## Fields

**type** `Literal['mouse_move']` (default: mouse\_move)

**category** `str` (default: Special Browser Actions)

**description** `str` (default: Move the pointer to viewport coordinates (x, y) without pressing, optionally sweeping from (from\_x, from\_y): hover effects on canvas, WebGL or 3D content)

**x** `float` *required*

Horizontal coordinate in CSS pixels from the top-left corner of the viewport, as in a screenshot at device scale 1

**y** `float` *required*

Vertical coordinate in CSS pixels from the top-left corner of the viewport, as in a screenshot at device scale 1

**from\_x** `float | None`

Start of the sweep (horizontal); omit to move from the current pointer position

**from\_y** `float | None`

Start of the sweep (vertical); omit to move from the current pointer position

**steps** `int` (default: 25)

Number of intermediate pointer moves: more steps make a smoother, slower gesture

## Module

`notte_core.actions.actions`


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.