> For the complete documentation index, see [llms.txt](https://espergames.gitbook.io/feel-speak/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://espergames.gitbook.io/feel-speak/scripting/emotion-bubble.md).

# Emotion Bubble

Scripting with the EmotionBubble class.

A component that is used to display an emotion that a speaker is feeling. It can also display any sprite.

## Notes

* All properties visible in the inspector are available through code.

## Displaying a Sprite

To display a sprite, use the `Open` method and pass a `Sprite`. The second parameter is the length of time before the bubble automatically closes.

```csharp
myEmotionBubble.Open(mySprite);
```
