# TextAreaAttribute

> Attribute to make a string be edited with a height-flexible and scrollable text area.

## Definition

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

## TextAreaAttribute()

Attribute to make a string be edited with a height-flexible and scrollable text area.

```csharp
public TextAreaAttribute()
```

## TextAreaAttribute(int, int)

Attribute to make a string be edited with a height-flexible and scrollable text area.

```csharp
public TextAreaAttribute(int minLines, int maxLines)
```

### Parameters

**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): The minimum amount of lines the text area will use.**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): The maximum amount of lines the text area can show before it starts using a scrollbar.
