# Sandbox.UI.Panel.GetTransformPosition

```csharp
Vector2 GetTransformPosition(Vector2 pos)
```

Called by `M:Sandbox.UI.PanelInput.CheckHover(Sandbox.UI.Panel,Vector2,Sandbox.UI.Panel@)` to transform
the current mouse position using the panel's LocalMatrix (by default). This can be overriden for special cases.

### Parameters

- `pos` (`Vector2`)

### Returns

`Vector2`

Declared in [Sandbox.UI.Panel](/api/Sandbox.UI.Panel).
Assembly: `Sandbox.Engine`.
