# Sandbox.Game.IsEditor

```csharp
static bool IsEditor { get; set; }
```

Returns true if the game is running with the editor enabled

Declared in [Sandbox.Game](/api/Sandbox.Game).
Assembly: `Sandbox.Engine`.
