# isEditor

> Whether the game is running inside the Unity Editor (Read Only).

## Definition

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

```csharp
public static bool isEditor { get; }
```

### Remarks

Returns true if the game is being run from the Unity Editor; false if run from any deployment target.

### Examples

```csharp
using UnityEngine;

class Example : MonoBehaviour
{
    void Start()
    {
        if (Application.isEditor)
        {
            print("We are running this from inside of the editor!");
        }
    }
}
```
