# Действия кнопки

Здесь мы разберем действие, которое будет выполнять наша кнопка.

Для этого кликаем по ней `ПКМ`, из списка выбираем **"Button Action"**. Так как нам нужно, чтобы кнопка по нажатию на неё открывала определённую ссылку, выбираем действие **"openlink"**. В текстовое поле снизу вставляем нужную нам ссылку и кликаем **"Done"**.

<figure><img src="/files/C79SPe5Xv21Ehf8E5bto" alt=""><figcaption></figcaption></figure>

Действие кнопке мы задали, теперь поработаем со всплывающим описанием. Для этого снова кликаем по кнопке `ПКМ`, в списке выбираем **"Tooltip"**. В появившееся поле вписываем нужную фразу, затем нажимаем **"Done"**.

Теперь сохраняем изменённый макет, выходим из режима редактирования и проверяем кнопку на работоспособность.


---

# Agent Instructions: 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://wiki.aegis-mine.ru/modifications/glavnoe-menyu/fancymenu/sozdanie-menyu/deistviya-knopki.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.
