> For the complete documentation index, see [llms.txt](https://docs.neuralaim.ru/napi/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.neuralaim.ru/napi/dokumentaciya-or-api/mouse.md).

# Mouse

### move

```python
def move(x: int, y: int) -> None:
```

<table><thead><tr><th width="124">Название</th><th width="66">Тип</th><th>Описание</th></tr></thead><tbody><tr><td>x</td><td>int</td><td>пиксель по оси x, начиная слева</td></tr><tr><td>y</td><td>int</td><td>пиксель по оси y, начиная сверху</td></tr></tbody></table>

{% hint style="info" %}
Изменяет местоположение относительно текущих координат мыши.
{% endhint %}

{% hint style="warning" %}
Т.к. он старается соблюдать аппаратные ограничения "Настоящей" мыши и человечности ввода, может работать с задержкой - сравнимой с аппаратной.
{% endhint %}

### up

```python
def up(self, key: str = 'left') -> None:
```

<table><thead><tr><th width="124">Название</th><th width="66">Тип</th><th>Описание</th></tr></thead><tbody><tr><td>key</td><td>str</td><td>Какую клавишу зажать - 'left' / 'right'</td></tr></tbody></table>

### down

```python
def down(self, key: str = 'left') -> None:
```

<table><thead><tr><th width="124">Название</th><th width="66">Тип</th><th>Описание</th></tr></thead><tbody><tr><td>key</td><td>str</td><td>Какую клавишу отжать - 'left' / 'right'</td></tr></tbody></table>

### click

<pre class="language-python"><code class="lang-python"><strong>def click(key: str) -> None:
</strong></code></pre>

<table><thead><tr><th width="124">Название</th><th width="66">Тип</th><th>Описание</th></tr></thead><tbody><tr><td>key</td><td>str</td><td>Какую клавишу нажать - 'left' / 'right'</td></tr></tbody></table>

{% hint style="info" %}
Производит клик мышкой по координатам текущего местоположения мыши
{% endhint %}

### is\_clicked

```python
def is_clicked(key: str = 'left') -> bool
```

<table><thead><tr><th width="124">Название</th><th width="66">Тип</th><th>Описание</th></tr></thead><tbody><tr><td>key</td><td>str</td><td>Проверяет, нажата ли клавиша - 'left' / 'right'</td></tr></tbody></table>

### position

```python
def position(self) -> Tuple[int, int]:
```

{% hint style="info" %}
Получает текущие координаты мыши.
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.neuralaim.ru/napi/dokumentaciya-or-api/mouse.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
