# GUIToScreenPoint(Vector2)

> Converts a point from GUI position to screen space relative to the cached camera viewport.

## Definition

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

```csharp
public Vector2 GUIToScreenPoint(Vector2 guiPoint)
```

### Parameters

**** (\[Vector2]\(/engine/6000.7/script-reference/unityengine/vector2)): A point in GUI space to convert to screen space.

### Returns

| Type                                                              | Description                                                        |
| ----------------------------------------------------------------- | ------------------------------------------------------------------ |
| [Vector2](/engine/6000.7/script-reference/unityengine/vector2.md) | `guiPoint` in screen space relative to the cached camera viewport. |

### Remarks

See also [GUIUtility.ScreenToGUIPoint](/engine/6000.7/script-reference/unityengine/guiutility/screentoguipoint.md), [GUIUtility.GUIToScreenPoint](/engine/6000.7/script-reference/unityengine/guiutility/guitoscreenpoint.md).
