# Editor.Widget.ToScreen

```csharp
Vector2 ToScreen(Vector2 p)
```

Transform coordinates relative to the panel's top left corner, to coordinates relative to monitors's top left corner.

### Parameters

- `p` (`Vector2`): Position on the panel, relative it its top left corner.

### Returns

`Vector2`: The same position relative to the monitors top left corner.

Declared in [Editor.Widget](/api/Editor.Widget).
Assembly: `Sandbox.Tools`.
