# Editor.ICompileContext.AddOutput

```csharp
void AddOutput(string relativePath)
```

Registers a file after writing it when its name is determined during the compile.
The path is relative to the scene data folder.

### Parameters

- `relativePath` (`string`)

Declared in [Editor.ICompileContext](/api/Editor.ICompileContext).
Assembly: `Sandbox.Engine`.
