# ShouldRenderGizmos()

> Determines whether or not to draw Gizmos.

## Definition

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

```csharp
public static bool ShouldRenderGizmos()
```

### Returns

| Type                                                          | Description |
| ------------------------------------------------------------- | ----------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) |             |

### Remarks

This helper function abstracts the state of Gizmos being enabled or not in the Game and Scene view.
