# wordWrap

> Should the text be wordwrapped?

## Definition

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

```csharp
public bool wordWrap { get; set; }
```

### Remarks

This will cause any text contrained to be wordwrapped to fit within the width of a control.

### Examples

```csharp
using UnityEngine;

public class Example : MonoBehaviour
{
    void OnGUI()
    {
        GUI.skin.button.wordWrap = true;
    }
}
```
