# NotEditable

> The object is not editable in the Inspector.

## Definition

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

```csharp
NotEditable = 8
```

### Examples

```csharp
using UnityEngine;

public class Example : MonoBehaviour
{
    // Create a plane and dont let it be modificable in the Inspector
    // nor in the Sceneview.

    void Start()
    {
        GameObject createdGO = GameObject.CreatePrimitive(PrimitiveType.Plane);
        createdGO.hideFlags = HideFlags.NotEditable;
    }
}
```
