> For the complete documentation index, see [llms.txt](https://docs.streamavatars.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.streamavatars.com/lua-scripting-api/api-reference-and-tips/classes/app/createchatbubble.md).

# createChatBubble

```lua
return function()
    local app = getApp();
    
    local position = app.convertPercentToPosition(0.5, 0.5);
    --creates a chat bubble in the center of the screen for 30 seconds with
    --'test' as the text.
    app.createChatBubble(position.x, position.y, 30, 'test')
end
```

{% hint style="warning" %}
For emotes on twitch to display, they must first be read from chat before they can be used in chat bubble. For example 'kappa' will use the kappa emote only if someone has previously types Kappa into chat.
{% endhint %}
