# Editor.MapEditor.Hammer.Save

```csharp
static bool Save()
```

Save the active map to its file. Never prompts - returns false if the map has never been
saved, so has no file to save to, or the save failed.

### Returns

`bool`

Declared in [Editor.MapEditor.Hammer](/api/Editor.MapEditor.Hammer).
Assembly: `Sandbox.Tools`.
