# Sandbox.UI.Panel.ScreenPositionToPanelDelta

```csharp
Vector2 ScreenPositionToPanelDelta(Vector2 pos)
```

Convert a point from the screen to a point representing a delta on this panel where
the top left is [0,0] and the bottom right is [1,1]

### Parameters

- `pos` (`Vector2`)

### Returns

`Vector2`

Declared in [Sandbox.UI.Panel](/api/Sandbox.UI.Panel).
Assembly: `Sandbox.Engine`.
