# startScreenshare()

Makes the browser show the screenshare modal, so user can choose to share the entire screen or only a concrete specific window/tab.

```javascript
sambaFrame.startScreenshare();
```

**Sample use case**: \
Have a custom toolbar in your integration and want user to control screenshare from it.

{% hint style="info" %}
The related event is [screenshareStarted](https://docs.digitalsamba.com/reference/sdk/methods/startscreenshare), if you want to be informed when a user starts a screenshare.
{% endhint %}
