Check if Mouse is in GUIArea

Hello,

I created a GUILayout.BeginArea,

is it possible to check if the mouse is in this area?

Thanks alot.

You can draw a Rect on the same position and then check with Rect.Contains if the mouse is in the Area

Rect