# Editor.Asset.GetCompiledFile

```csharp
string GetCompiledFile(bool absolute = False)
```

Returns the compiled file path, if the asset is compiled.

### Parameters

- `absolute` (`bool`), default `False`: Whether the path should be absolute or relative.

### Returns

`string`: The compiled file path, or null if the asset was not compiled.

Declared in [Editor.Asset](/api/Editor.Asset).
Assembly: `Sandbox.Tools`.
