# GetStaticEditorFlags(GameObject)

> Gets the StaticEditorFlags of the GameObject specified.

## Definition

* **Type:** Method
* **Namespace:** [UnityEditor](/engine/6000.3/script-reference/unityeditor.md)
* **Assembly:** UnityEditor

```csharp
public static StaticEditorFlags GetStaticEditorFlags(GameObject go)
```

### Parameters

**** (\[GameObject]\(/engine/6000.3/script-reference/unityengine/gameobject)): The GameObject whose flags you are interested in.

### Returns

| Type                                                                                  | Description                                          |
| ------------------------------------------------------------------------------------- | ---------------------------------------------------- |
| [StaticEditorFlags](/engine/6000.3/script-reference/unityeditor/staticeditorflags.md) | The static editor flags of the GameObject specified. |
