# Button

_The button is a component of the_ [_Unity Asset_](https://assetstore.unity.com/packages/3d/gui/modular-3d-text-in-game-3d-ui-system-247241?aid=1011ljxWe\&utm_source=aff) _that creates a button as the name suggests. By default It also has a collider component for the input system to select it via touch or mouse click. Removable if not required._

<figure><img src="https://1119473059-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MfrUtWCLmsoDLuNCqpm%2Fuploads%2FQ4fWfzVyXhCv4zEG34Wu%2Fimage.png?alt=media&#x26;token=1f037cd7-df93-4030-8973-af0c1af1a65c" alt=""><figcaption></figcaption></figure>

{% content-ref url="button/script-documentation" %}
[script-documentation](button/script-documentation)
{% endcontent-ref %}



## _<mark style="color:yellow;">Inspector</mark>_&#x20;

_**Note**: You can hover your mouse and check tooltips for information._<img src="https://1119473059-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MfrUtWCLmsoDLuNCqpm%2Fuploads%2FB4LUq4w4shpjxdlIYtEg%2Fimage.png?alt=media&#x26;token=62553d91-5599-4dd5-9058-a1ddcbf5c264" alt="" data-size="line">\
![](https://1119473059-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MfrUtWCLmsoDLuNCqpm%2Fuploads%2F4ZCPI5LFlkgF6OFgZGo3%2Fimage.png?alt=media\&token=b40a027a-d6e1-4ce3-9164-ced7341d041b)

### _<mark style="color:yellow;">Events</mark>_

![](https://1119473059-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MfrUtWCLmsoDLuNCqpm%2Fuploads%2FQ0MPce8uw9Q1k80KtIMe%2Fimage.png?alt=media\&token=fc87f4c9-44dd-4478-916c-8ba521a1b27b)

### _<mark style="color:yellow;">Style</mark>_

_Style foldout controls the materials to be applied to the text, background, and text size._ \
_Read the_ [_UI States section_](../utility/ui-states) _to understand what the states mean in the asset._\
![](https://1119473059-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MfrUtWCLmsoDLuNCqpm%2Fuploads%2FKwkqkqjsUkTtUuumebkS%2Fimage.png?alt=media\&token=f5717ef2-7737-476d-8187-8014b545b33f)
