> For the complete documentation index, see [llms.txt](https://docs.tankandhealerstudio.com/assets/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.tankandhealerstudio.com/assets/ultimategamepadcursor/documentation/ultimategamepadcursor/events/onenabled.md).

# OnEnabled

{% code overflow="wrap" lineNumbers="true" fullWidth="true" %}

```csharp
using UnityEngine;

public class EventExample : MonoBehaviour
{
    void Start ()
    {
        UltimateGamepadCursor.Instance.OnEnabled += () =>
        {
            Debug.Log( "Cursor Enabled" );
        };
    }
}
```

{% endcode %}
