# Set Microphone

### Follow the steps below to set active microphone&#x20;

* Open the player blueprint or the blueprint that has the Convai Player component in it.&#x20;
* Drag the `ConvaiPlayer` component in your `Event Graph` and search for `Set Capture Device by Name` or `Set Capture Device by Index`. These functions are used to set the microphone by its index or by its name.&#x20;

<figure><img src="https://413558230-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEtUJA212Zc1S9ACc8T4l%2Fuploads%2FyESN4EVrALtb2clWKsEm%2Fimage.png?alt=media&#x26;token=c28ad43b-09d4-4191-b6d1-ef7ff0aad386" alt=""><figcaption><p>Example to set Microphone in Unreal Engine using Convai</p></figcaption></figure>
