# Button

Buttons have a *Click* Event for which an Event handler can be created that will execute the actions you add to the Event handler.

***

{% embed url="<https://www.youtube.com/embed/A7XYOgdlMRo?autoplay=1&rel=0&vq=1080>" %}
*Add a button*
{% endembed %}

***

### Properties

1. **Text**

   The text on the button.
2. **Tooltip**

   The tooltip that shows when users hover on the button.
3. **Visible**

   Set to False if you don't want this control to render on the page and be visible to the user.

***

### Events

1. **Click**

   An event that triggers when the button is clicked.

{% embed url="<https://www.youtube.com/embed/zniP5KYopYA?autoplay=1&rel=0&vq=1080>" %}
Add a button click Event handler
{% endembed %}


---

# 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://docs.stadium.software/controls/button.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.
