# hover

> Rendering settings for when the mouse is hovering over the control.

## Definition

* **Type:** Property
* **Namespace:** [UnityEngine](/engine/6000.7/script-reference/unityengine.md)
* **Assembly:** UnityEngine.IMGUIModule

```csharp
public GUIStyleState hover { get; set; }
```

### Examples

```csharp
using UnityEngine;

public class Example : MonoBehaviour
{
    // Prints the text color that button is using
    // when the mouse is hovering over a control

    void OnGUI()
    {
        Debug.Log(GUI.skin.button.hover.textColor);
    }
}
```
