> ## 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

> [!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.

[Source: node-sdk/src/lib/client/types.gen.ts](https://github.com/nottelabs/notte/blob/main/node-sdk/src/lib/client/types.gen.ts)

```typescript theme={null}
export type MouseMoveAction = {
    /**
     * Type
     */
    type?: 'mouse_move';
    /**
     * Category
     */
    category?: string;
    /**
     * Description
     */
    description?: string;
    /**
     * X
     *
     * Horizontal coordinate in CSS pixels from the top-left corner of the viewport, as in a screenshot at device scale 1
     */
    x: number;
    /**
     * Y
     *
     * Vertical coordinate in CSS pixels from the top-left corner of the viewport, as in a screenshot at device scale 1
     */
    y: number;
    /**
     * From X
     *
     * Start of the sweep (horizontal); omit to move from the current pointer position
     */
    from_x?: number | null;
    /**
     * From Y
     *
     * Start of the sweep (vertical); omit to move from the current pointer position
     */
    from_y?: number | null;
    /**
     * Steps
     *
     * Number of intermediate pointer moves: more steps make a smoother, slower gesture
     */
    steps?: number;
};
```

## Fields

**type** `"mouse_move" | undefined`

**category** `string | undefined`

**description** `string | undefined`

**x** `number` *required*

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

**y** `number` *required*

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

**from\_x** `number | null | undefined`

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

**from\_y** `number | null | undefined`

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

**steps** `number | undefined`

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


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