# textArea

> Style used by default for GUI.TextArea controls.

## Definition

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

```csharp
public GUIStyle textArea { get; set; }
```

### Examples

```csharp
using UnityEngine;

public class Example : MonoBehaviour
{
    // Modifies only the textArea style of the current GUISkin

    GUIStyle style;
    string str = "A string...\nWith two lines.";

    void OnGUI()
    {
        GUI.skin.textArea = style;
        str = GUILayout.TextArea(str);
    }
}
```
