> For the complete documentation index, see [llms.txt](https://docs.digitalsamba.com/reference/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.digitalsamba.com/reference/sdk/methods/disablevirtualbackground.md).

# disableVirtualBackground()

Removes (if already enabled) the virtual background for the local user.

```javascript
sambaFrame.disableVirtualBackground();
```

**Sample use cases**:&#x20;

* You may want to control virtual background for the local user dynamically during the meeting.

{% hint style="info" %}
The related events are [captionsFontSizeChanged](/reference/sdk/events/captionsfontsizechanged.md) and [captionsSpokenLanguageChanged](/reference/sdk/events/captionsspokenlanguagechanged.md) if you want to be informed when the captions settings has been changed.
{% endhint %}
