# enabled

> True if this Behaviour is enabled, otherwise false.

## Definition

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

```csharp
public bool enabled { get; set; }
```

### Remarks

You typically interact with this property via the derived [MonoBehaviour](/engine/6000.7/script-reference/unityengine/monobehaviour.md) class. You can enable a MonoBehaviour through the checkbox in the **Inspector** window or by setting this value from code.

Disabled MonoBehaviours don't receive regular lifecycle callbacks such as [MonoBehaviour.Update()](/engine/6000.7/script-reference/unityengine/monobehaviour/update.md) but they still receive the following:

* [MonoBehaviour.Awake()](/engine/6000.7/script-reference/unityengine/monobehaviour/awake.md)
* [MonoBehaviour.Reset()](/engine/6000.7/script-reference/unityengine/monobehaviour/reset.md)
* [MonoBehaviour.OnDestroy()](/engine/6000.7/script-reference/unityengine/monobehaviour/ondestroy.md)

### Examples

```csharp
using UnityEngine;
using System.Collections;
using UnityEngine.UI; // Required when Using UI elements.

public class Example : MonoBehaviour
{
    public Image pauseMenu;

    public void Start()
    {
        //Enables the pause menu UI.
        pauseMenu.enabled = true;
    }
}
```
