# buttonText

> The action button's text value.

## Definition

* **Type:** Property
* **Namespace:** [UnityEngine.UIElements](/engine/6000.7/script-reference/unityengine/uielements.md)
* **Assembly:** UnityEngine.UIElementsModule

```csharp
[UxmlAttribute]
public string buttonText { get; set; }
```

### Remarks

Provide a value to create a new [Button](/engine/6000.7/script-reference/unityengine/uielements/button.md) or update the text of an existing one.
