# WorldToGUIPoint(Vector3)

> Converts a world space point to a 2D GUI position.

## Definition

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

```csharp
public Vector2 WorldToGUIPoint(Vector3 worldPoint)
```

### Parameters

**** (\[Vector3]\(/engine/6000.0/script-reference/unityengine/vector3)): A point in world space.

### Returns

| Type                                                              | Description           |
| ----------------------------------------------------------------- | --------------------- |
| [Vector2](/engine/6000.0/script-reference/unityengine/vector2.md) | A point in GUI space. |

### Remarks

Uses the cached camera matrices and viewport to calculate the projection.

See also [HandleUtility.WorldToGUIPoint](/engine/6000.0/script-reference/unityeditor/handleutility/worldtoguipoint.md).
