# hideCaptions()

Hides the captions (automatic subtitles) panel at the bottom of the screen.

```javascript
sambaFrame.hideCaptions();
```

**Sample use case**: \
Have a completely custom toolbar in your integration and you want user to be able to show/hide captions panel from a custom button in your toolbar.

{% hint style="info" %}
Often used in conjunction with [showCaptions](https://docs.digitalsamba.com/reference/sdk/methods/showcaptions) method.
{% endhint %}
