# Setting an action for "Hi" triggers an error

**URL:** <https://forum.convai.com/t/setting-an-action-for-hi-triggers-an-error/4191>\
**Category:** Unity SDK\
**Tags:** actions, question, unity\
**Created:** [June 4, 2025, 1:34pm UTC](https://forum.convai.com/t/setting-an-action-for-hi-triggers-an-error/4191 "2025-06-04T13:34:28Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![hemillyavent109](https://yyz2.discourse-cdn.com/flex004/user_avatar/forum.convai.com/hemillyavent109/32/3720_2.png) [@hemillyavent109](https://forum.convai.com/u/hemillyavent109)\
**Post date:** [June 4, 2025, 1:34pm UTC](https://forum.convai.com/t/setting-an-action-for-hi-triggers-an-error/4191/1 "2025-06-04T13:34:28Z")

</div>

So, I’m trying to set an action for every time my avatar says “Hi”, but I’m getting this error:

 ![image](https://canada1.discourse-cdn.com/flex004/uploads/convai/original/2X/3/3ca4d590e422870c3485c2dd9fac385a6917dc63.png)  
 ![image](https://canada1.discourse-cdn.com/flex004/uploads/convai/original/2X/9/9611bbf31e843daaa97ea516452a669c1ee79eb4.png)

---

<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:** [June 4, 2025, 1:53pm UTC](https://forum.convai.com/t/setting-an-action-for-hi-triggers-an-error/4191/2 "2025-06-04T13:53:44Z")

</div>

Hello @hemillyavent109,

Double click on this error and show me the code.

---

<div class="post-metadata">

**Author:** ![hemillyavent109](https://yyz2.discourse-cdn.com/flex004/user_avatar/forum.convai.com/hemillyavent109/32/3720_2.png) [@hemillyavent109](https://forum.convai.com/u/hemillyavent109)\
**Post date:** [June 4, 2025, 2:04pm UTC](https://forum.convai.com/t/setting-an-action-for-hi-triggers-an-error/4191/3 "2025-06-04T14:04:02Z")

</div>

![image](https://canada1.discourse-cdn.com/flex004/uploads/convai/original/2X/d/d504e6df91abb51ea2e907b2de5a5731aaf6f2aa.png)

---

<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:** [June 4, 2025, 2:04pm UTC](https://forum.convai.com/t/setting-an-action-for-hi-triggers-an-error/4191/4 "2025-06-04T14:04:55Z")

</div>

Okay, can I see the Convai Interactables Data component?

---

<div class="post-metadata">

**Author:** ![hemillyavent109](https://yyz2.discourse-cdn.com/flex004/user_avatar/forum.convai.com/hemillyavent109/32/3720_2.png) [@hemillyavent109](https://forum.convai.com/u/hemillyavent109)\
**Post date:** [June 4, 2025, 2:11pm UTC](https://forum.convai.com/t/setting-an-action-for-hi-triggers-an-error/4191/5 "2025-06-04T14:11:54Z")

</div>

![image](https://canada1.discourse-cdn.com/flex004/uploads/convai/original/2X/7/7159560252ec5fd5652a63315a099718d79b562f.png)

---

<div class="post-metadata">

**Author:** ![hemillyavent109](https://yyz2.discourse-cdn.com/flex004/user_avatar/forum.convai.com/hemillyavent109/32/3720_2.png) [@hemillyavent109](https://forum.convai.com/u/hemillyavent109)\
**Post date:** [June 4, 2025, 2:12pm UTC](https://forum.convai.com/t/setting-an-action-for-hi-triggers-an-error/4191/6 "2025-06-04T14:12:58Z")

</div>

![image](https://canada1.discourse-cdn.com/flex004/uploads/convai/original/2X/6/6987957a6cc6efc056df1281d5ca30a647cb8b15.png)

---

<div class="post-metadata">

**Author:** ![hemillyavent109](https://yyz2.discourse-cdn.com/flex004/user_avatar/forum.convai.com/hemillyavent109/32/3720_2.png) [@hemillyavent109](https://forum.convai.com/u/hemillyavent109)\
**Post date:** [June 4, 2025, 2:15pm UTC](https://forum.convai.com/t/setting-an-action-for-hi-triggers-an-error/4191/7 "2025-06-04T14:15:14Z")

</div>

![image](https://canada1.discourse-cdn.com/flex004/uploads/convai/original/2X/4/422e327a5a80103a231deaf27b6805d9685c4b57.png)

---

<div class="post-metadata">

**Author:** ![hemillyavent109](https://yyz2.discourse-cdn.com/flex004/user_avatar/forum.convai.com/hemillyavent109/32/3720_2.png) [@hemillyavent109](https://forum.convai.com/u/hemillyavent109)\
**Post date:** [June 4, 2025, 2:22pm UTC](https://forum.convai.com/t/setting-an-action-for-hi-triggers-an-error/4191/8 "2025-06-04T14:22:20Z")

</div>

When I put this component in, it performs the action, but the speech comes before the action. And I didn’t quite understand what to put in the Dynamic Move Target

---

<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:** [June 4, 2025, 2:25pm UTC](https://forum.convai.com/t/setting-an-action-for-hi-triggers-an-error/4191/9 "2025-06-04T14:25:06Z")

</div>

In **Convai Interactables Data** , set up the **Dynamic Move Target Indicator** by dragging the prefab from `Assets/Convai/Prefabs/Utils/Dynamic Move Target Indicator.prefab` into your scene, then reference it in the appropriate field in Interactables Data.

---

<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:** [June 4, 2025, 2:49pm UTC](https://forum.convai.com/t/setting-an-action-for-hi-triggers-an-error/4191/10 "2025-06-04T14:49:11Z")

</div>

Closed on June 4, 2025, 2:49pm UTC


