# Editor.Asset.SaveToDisk

```csharp
bool SaveToDisk(GameResource obj)
```

Save a game resource instance to disk. This is used internally by asset inspector and for asset creation.

### Parameters

- `obj` (`GameResource`): The instance data to save.

### Returns

`bool`: Whether the instance was successfully saved or not.

Declared in [Editor.Asset](/api/Editor.Asset).
Assembly: `Sandbox.Tools`.
