# Editor.Widget.ClearContext

```csharp
void ClearContext(string key)
```

Remove a context on this widget. This will NOT remove contexts set from parent objects.

### Parameters

- `key` (`string`)

Declared in [Editor.Widget](/api/Editor.Widget).
Assembly: `Sandbox.Tools`.
