# Sandbox.UI.Panel.ScreenPositionToPanelPosition

```csharp
Vector2 ScreenPositionToPanelPosition(Vector2 pos)
```

Convert a point from the screen to a position relative to the top left of this panel

### Parameters

- `pos` (`Vector2`)

### Returns

`Vector2`

Declared in [Sandbox.UI.Panel](/api/Sandbox.UI.Panel).
Assembly: `Sandbox.Engine`.
