# isStatic

> Whether there are any Static Editor Flags set for the GameObject.

## Definition

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

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

### Remarks

Returns `true` if any [StaticEditorFlags](/engine/6000.7/script-reference/unityeditor/staticeditorflags.md) are set. Returns `false` if no Static Editor Flags are set.

Set to `true` to enable all Static Editor Flags. Set to `false` to disable all Static Editor Flags.

Static Editor Flags determine which Unity systems consider a GameObject as static, and include the GameObject in their precomputations in the Unity Editor. Setting StaticEditorFlags at runtime has no effect on these systems.

For more information, refer to [ Unity Manual documentation on Static Editor Flags](/engine/6000.7/manual/working-with-gameobjects/gameobject-fundamentals/static-objects.md).

Additional Resources: [StaticEditorFlags](/engine/6000.7/script-reference/unityeditor/staticeditorflags.md), [GameObjectUtility.SetStaticEditorFlags](/engine/6000.7/script-reference/unityeditor/gameobjectutility/setstaticeditorflags.md).
