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

# MouseClickAction

> [!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 MouseClickAction = {
    /**
     * Type
     */
    type?: 'mouse_click';
    /**
     * 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;
    /**
     * Button
     */
    button?: 'left' | 'right' | 'middle';
    /**
     * Click Count
     *
     * 1 for a click, 2 for a double click
     */
    click_count?: number;
};
```

## Fields

**type** `"mouse_click" | 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

**button** `"left" | "right" | "middle" | undefined`

**click\_count** `number | undefined`

1 for a click, 2 for a double click


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