So is there a function to test for the mouse being over the GUI yet?
Can we please have one then!?
Not a full solution, but you can test for the mouse being inside a bounded area with some greater than less than tests. Just remember then the Mouse position Y is flipped vs the Gui position Y.
yes for now I just store a list of button rectangles - but if you have a menu that expands or changes then it becomes a bit silly!
there is another solution using tooltips in the unity docs:
The problem with this is that when a mouse button is down over a button - the tooltip is off - so such a function returns not over GUI.