# In Unity, how can I change the background by asking the AI to change it?

**URL:** <https://forum.convai.com/t/in-unity-how-can-i-change-the-background-by-asking-the-ai-to-change-it/4984>\
**Category:** Unity SDK\
**Tags:** question, unity\
**Created:** [August 21, 2025, 4:34pm UTC](https://forum.convai.com/t/in-unity-how-can-i-change-the-background-by-asking-the-ai-to-change-it/4984 "2025-08-21T16:34:26Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bruno\_Leonardo\_Miche](https://yyz2.discourse-cdn.com/flex004/user_avatar/forum.convai.com/bruno_leonardo_miche/32/5395_2.png) [@Bruno\_Leonardo\_Miche](https://forum.convai.com/u/Bruno_Leonardo_Miche)\
**Post date:** [August 21, 2025, 4:34pm UTC](https://forum.convai.com/t/in-unity-how-can-i-change-the-background-by-asking-the-ai-to-change-it/4984/1 "2025-08-21T16:34:27Z")

</div>

I have a character and a few different backgrounds, I can change the backgrounds by an animation trigger.

How can I make it so that I can ask the AI to invoke those triggers for me?

Do I need an External API method? Do I need custom actions? How can I do it?

---

<div class="post-metadata">

**Author:** ![K3](https://yyz2.discourse-cdn.com/flex004/user_avatar/forum.convai.com/k3/32/2611_2.png) [@K3](https://forum.convai.com/u/K3)\
**Post date:** [August 21, 2025, 9:29pm UTC](https://forum.convai.com/t/in-unity-how-can-i-change-the-background-by-asking-the-ai-to-change-it/4984/2 "2025-08-21T21:29:31Z")

</div>

Hello @Bruno_Leonardo_Miche,

**Welcome to the Convai Developer Forum!**

You can achieve this using Custom Actions. Please refer to the documentation [here](https://docs.convai.com/api-docs/plugins-and-integrations/unity-plugin/adding-actions-to-your-character) for guidance.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex004/uploads/convai/original/1X/e60ef96aa7334c5ccf6682f6c6dbc20fcfa96b49.png) [@system](https://forum.convai.com/u/system)\
**Post date:** [September 20, 2025, 9:29pm UTC](https://forum.convai.com/t/in-unity-how-can-i-change-the-background-by-asking-the-ai-to-change-it/4984/3 "2025-09-20T21:29:55Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
