> For the complete documentation index, see [llms.txt](https://docs.siminsights.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.siminsights.com/hyperskill-studio-authoring/state-machine-reference/actions/ai-chat.md).

# AI Chat

AI Chat is used for purely 2D chat based simulations. They allow you to engage in interfaces through a text display similar to text messages or chat rooms.

AI Chat is used for purely 2D chat-based simulations, with a text display similar to text messages or chat rooms. For a step-by-step walkthrough, see [How to Author the Chat Box in a simulation](/hyperskill-studio-authoring/state-machine-reference/actions/ai-chat/how-to-author-the-chat-box-in-a-simulation.md).

## AI Chat Action dropdown

1. **Open:** Opens the AI Chat interface.
2. **Close:** Closes the AI Chat interface.
3. **Input Message:** Inputs a message to the AI Chat interface, either as a named entity (the Name field) or as if it was said by the player (the Is Player setting).
4. **Input System Message:** Inputs a message as a system message rather than one attributed to a participant. Typical uses are describing the scenario or sending messages like "Erick has entered the chat room" that are not assigned to a participant.
5. **Set Data:** Sets the information about the other participants in the experience: the *Name*, *Voice* and *Profile Picture* of the virtual participant. *Profile Pictures* should have a 1:1 aspect ratio to prevent distortion.

## Message settings

**Is Player Selection**: If this is set to ![](https://2704613365-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxYaaXoZ4YGbVdAnAhdcE%2Fuploads%2F1IwswChS4QUmltp93DF7%2Fimage.png?alt=media\&token=46c3f0ad-4dc7-49a8-ac76-d34c29dc150a) then the message you type into the text field appears as if it was spoken by the player rather than by the virtual participants.

**Name**: The virtual participant, from your Set Data section, who is speaking the text you enter.

**Text Field:** The message said by the System, the Player or the named virtual participant.
