# UpdateMouseHighlight(Vector2)

> Updates the mouse-over highlight at the given mouse position in screen space.

## Definition

* **Type:** Method
* **Namespace:** [UnityEditor](/engine/6000.6/script-reference/unityeditor.md)
* **Assembly:** UnityEditor

```csharp
public static void UpdateMouseHighlight(Vector2 screenPos)
```

### Parameters

**** (\[Vector2]\(/engine/6000.6/script-reference/unityengine/vector2)):&#x20;

### Remarks

Additional Resources: [HandleUtility.GUIPointToScreenPixelCoordinate](/engine/6000.6/script-reference/unityeditor/handleutility/guipointtoscreenpixelcoordinate.md).
