Draw border around built-in editor window?

I wish to “hilight” the editor windows my mouse is over. I teach Unity and students sometimes cannot see the mouse cursor. A colored window border would solve this, but I cannot find a way to achieve this.

The example code for EditorWindow.mouseOverWindow is useful for accessing the window beneath the mouse cursor, but I’m coming up short on drawing a border or highlighting the window in some other way.

Thoughts? Is it possible to perhaps change the color of the window? Or maybe draw a transparent window on top?

Thanks in advance.

It does not seem to fit for windows but maybe the Highlighter class can help you.

@fffMalzbier I did a few tests with Highlighter, and as you speculate, it does not appear to work for windows. Instead, it momentarily highlights elements within windows…

the search continues…