# AnyStaticEditorFlagsSet(GameObject, StaticEditorFlags)

> Returns true if any of the passed in StaticEditorFlags are set on the GameObject specified.

## Definition

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

```csharp
public static bool AnyStaticEditorFlagsSet(GameObject go, StaticEditorFlags flags)
```

### Parameters

**** (\[GameObject]\(/engine/6000.7/script-reference/unityengine/gameobject)): The GameObject to check.**** (\[StaticEditorFlags]\(/engine/6000.7/script-reference/unityeditor/staticeditorflags)): The flags you want to check.

### Returns

| Type                                                          | Description                                                              |
| ------------------------------------------------------------- | ------------------------------------------------------------------------ |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | Whether any of the input flags are set on the GameObject's static flags. |
