# 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](https://docs.digitalsamba.com/reference/sdk/events/captionsfontsizechanged) and [captionsSpokenLanguageChanged](https://docs.digitalsamba.com/reference/sdk/events/captionsspokenlanguagechanged) if you want to be informed when the captions settings has been changed.
{% endhint %}
