# ScreenToGUIRect(Rect)

> Convert a rect from screen space to GUI position.

## Definition

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

```csharp
public static Rect ScreenToGUIRect(Rect screenRect)
```

### Parameters

**** (\[Rect]\(/engine/6000.7/script-reference/unityengine/rect)):&#x20;

### Returns

| Type                                                        | Description |
| ----------------------------------------------------------- | ----------- |
| [Rect](/engine/6000.7/script-reference/unityengine/rect.md) |             |
