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