# SelectableLabel(Rect, string, GUIStyle)

> Makes a selectable label field. (Useful for showing read-only info that can be copy-pasted.)

## Definition

* **Type:** Method
* **Namespace:** [UnityEditor](/engine/6000.0/script-reference/unityeditor.md)
* **Assembly:** UnityEditor

```csharp
public static void SelectableLabel(Rect position, string text, GUIStyle style)
```

### Parameters

**** (\[Rect]\(/engine/6000.0/script-reference/unityengine/rect)): Rectangle on the screen to use for the label.**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): The text to show.**** (\[GUIStyle]\(/engine/6000.0/script-reference/unityengine/guistyle)): Optional [GUIStyle](/engine/6000.0/script-reference/unityengine/guistyle.md).
