# Main Character and Attention Object

1. Navigate to your AI character blueprint.
2. Drag the `Convai Chatbot` component into the event graph.
3. Get the `Environment` Object and make sure it is valid.
   1. Use the function `Set Main Character` to define the current speaker to the AI character. Additionally, if you're using Convai's animation blueprints then setting the Main Character would cause the AI character to look at the Main Character reference.
   2. Use the function `Set Attention Object` to set which object is currently being talked about, this function also automatically adds the input object to the list of already existing objects in the environment.

{% hint style="info" %}
The character blueprint can be a MetaHuman, ReadyPlayerMe, Reallusion or even a custom one you have created, just ensure that it has the `Convai Chatbot` component.
{% endhint %}

<figure><img src="https://413558230-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEtUJA212Zc1S9ACc8T4l%2Fuploads%2FyQ1wA7B6SKW3pnpvVTTW%2Fimage.png?alt=media&#x26;token=a60fab9b-5768-4d4f-9f16-e67e32630093" alt=""><figcaption><p>Illustrative schematic for the Set Main Character and Set Attention Object functions</p></figcaption></figure>
