# Editor.Asset.GetSourceFile

```csharp
string GetSourceFile(bool absolute = False)
```

Returns the source file path, if the sources are present.

### Parameters

- `absolute` (`bool`), default `False`: Whether the path should be absolute or relative.

### Returns

`string`: The source file path, or null if the source files are not present.

Declared in [Editor.Asset](/api/Editor.Asset).
Assembly: `Sandbox.Tools`.
