# How to activate the spatial trigger

**URL:** <https://forum.convai.com/t/how-to-activate-the-spatial-trigger/1448>\
**Category:** Unity SDK\
**Tags:** unity, webgl, question\
**Created:** [August 16, 2024, 2:14pm UTC](https://forum.convai.com/t/how-to-activate-the-spatial-trigger/1448 "2024-08-16T14:14:07Z")\
**Posts on this page:** 20\
**Page:** 1

<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 16, 2024, 2:14pm UTC](https://forum.convai.com/t/how-to-activate-the-spatial-trigger/1448/1 "2024-08-16T14:14:07Z")

</div>

**Original Discord Post by manuelavanzi | 2024-08-16 14:14:07**

i created a narrative design that should start with a trigger , i want my avatar to start talking when the user approaches him at the beginning but i don’t know how to do it on unity …

**Images:**

 ![image.png](https://canada1.discourse-cdn.com/flex004/uploads/convai/original/2X/3/3450e4abb14003953a7e8d5c4201a594b42198ad.jpeg)  
**Attachments:**

- [Convai\_Character\_-\_Google\_Chrome\_2024-08-16\_14-35-17.mp4](https://cdn.discordapp.com/attachments/1274008295367118939/1274010072149659740/Convai_Character_-_Google_Chrome_2024-08-16_14-35-17.mp4?ex=673e9917&is=673d4797&hm=9376f830ff63e2fbda3a5e1ddd00f453734772e33a123046742ca2881abedfc4&)

---

<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 16, 2024, 2:39pm UTC](https://forum.convai.com/t/how-to-activate-the-spatial-trigger/1448/2 "2024-08-16T14:39:49Z")

</div>

**Reply by k3kalinix | 2024-08-16 14:39:49**

Hello \<@905754050677583892\>

---

<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 16, 2024, 2:43pm UTC](https://forum.convai.com/t/how-to-activate-the-spatial-trigger/1448/3 "2024-08-16T14:43:09Z")

</div>

**Reply by manuelavanzi | 2024-08-16 14:43:09**

hi

---

<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 16, 2024, 2:43pm UTC](https://forum.convai.com/t/how-to-activate-the-spatial-trigger/1448/4 "2024-08-16T14:43:16Z")

</div>

**Reply by manuelavanzi | 2024-08-16 14:43:16**

**Images:**

 ![image.png](https://canada1.discourse-cdn.com/flex004/uploads/convai/original/2X/1/11b0cd172ee0bce178edf1594f475825c2f4f385.jpeg)

---

<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 16, 2024, 2:50pm UTC](https://forum.convai.com/t/how-to-activate-the-spatial-trigger/1448/5 "2024-08-16T14:50:00Z")

</div>

**Reply by k3kalinix | 2024-08-16 14:50:00**

If you’re available, we can have a voice chat.

---

<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 16, 2024, 2:51pm UTC](https://forum.convai.com/t/how-to-activate-the-spatial-trigger/1448/6 "2024-08-16T14:51:04Z")

</div>

**Reply by manuelavanzi | 2024-08-16 14:51:04**

if it is possible for you to answer me here

---

<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 16, 2024, 2:57pm UTC](https://forum.convai.com/t/how-to-activate-the-spatial-trigger/1448/7 "2024-08-16T14:57:34Z")

</div>

**Reply by k3kalinix | 2024-08-16 14:57:34**

\<@905754050677583892\>,

---

<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 16, 2024, 2:57pm UTC](https://forum.convai.com/t/how-to-activate-the-spatial-trigger/1448/8 "2024-08-16T14:57:39Z")

</div>

**Reply by k3kalinix | 2024-08-16 14:57:39**

I will be here after 10 min

---

<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 16, 2024, 2:57pm UTC](https://forum.convai.com/t/how-to-activate-the-spatial-trigger/1448/9 "2024-08-16T14:57:41Z")

</div>

**Reply by k3kalinix | 2024-08-16 14:57:41**

Is it okey?

---

<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 16, 2024, 2:57pm UTC](https://forum.convai.com/t/how-to-activate-the-spatial-trigger/1448/10 "2024-08-16T14:57:47Z")

</div>

**Reply by manuelavanzi | 2024-08-16 14:57:47**

sure

---

<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 16, 2024, 3:09pm UTC](https://forum.convai.com/t/how-to-activate-the-spatial-trigger/1448/11 "2024-08-16T15:09:11Z")

</div>

**Reply by k3kalinix | 2024-08-16 15:09:11**

Hey \<@905754050677583892\>,

---

<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 16, 2024, 3:10pm UTC](https://forum.convai.com/t/how-to-activate-the-spatial-trigger/1448/12 "2024-08-16T15:10:13Z")

</div>

**Reply by k3kalinix | 2024-08-16 15:10:13**

Do you want to implement Narrative Design in WebGL SDK?

---

<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 16, 2024, 3:10pm UTC](https://forum.convai.com/t/how-to-activate-the-spatial-trigger/1448/13 "2024-08-16T15:10:24Z")

</div>

**Reply by manuelavanzi | 2024-08-16 15:10:24**

yes

---

<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 16, 2024, 3:13pm UTC](https://forum.convai.com/t/how-to-activate-the-spatial-trigger/1448/14 "2024-08-16T15:13:55Z")

</div>

**Reply by k3kalinix | 2024-08-16 15:13:55**

WebGL SDK does not support Narrative Design feature.  
We will add it in the next update.

---

<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 16, 2024, 3:14pm UTC](https://forum.convai.com/t/how-to-activate-the-spatial-trigger/1448/15 "2024-08-16T15:14:11Z")

</div>

**Reply by manuelavanzi | 2024-08-16 15:14:11**

can you tell me where in the documentation it is written that narrative desing is not compatible for unity WebGL ?

---

<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 16, 2024, 3:17pm UTC](https://forum.convai.com/t/how-to-activate-the-spatial-trigger/1448/16 "2024-08-16T15:17:02Z")

</div>

**Reply by manuelavanzi | 2024-08-16 15:17:02**

you know I lost 3 hours for nothing , I want to see if I actually could have saved them

---

<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 16, 2024, 3:36pm UTC](https://forum.convai.com/t/how-to-activate-the-spatial-trigger/1448/17 "2024-08-16T15:36:24Z")

</div>

**Reply by k3kalinix | 2024-08-16 15:36:24**

I understand you completely.

Unfortunately, the WebGL version is a completely different SDK from the Core SDK.

Therefore, it works independently of the Core SDK.  
Currently, Narrative Design and Actions are only available in the Core SDK.

---

<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 16, 2024, 4:56pm UTC](https://forum.convai.com/t/how-to-activate-the-spatial-trigger/1448/18 "2024-08-16T16:56:28Z")

</div>

**Reply by manuelavanzi | 2024-08-16 16:56:28**

ok , so do you think there is any possibility to have the avatar speak ,at the time my user approaches , or have it speak first without the narrative design ? what could I do with this component in WebGL ? Convai 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:** [August 16, 2024, 5:25pm UTC](https://forum.convai.com/t/how-to-activate-the-spatial-trigger/1448/19 "2024-08-16T17:25:53Z")

</div>

**Reply by k3kalinix | 2024-08-16 17:25:53**

Hmm yes,

---

<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 16, 2024, 5:27pm UTC](https://forum.convai.com/t/how-to-activate-the-spatial-trigger/1448/20 "2024-08-16T17:27:51Z")

</div>

**Reply by k3kalinix | 2024-08-16 17:27:51**

You can send an empty text in the Awake or Start Method.

Welcome Trigger will work.

[Next page](https://forum.convai.com/t/how-to-activate-the-spatial-trigger/1448.md?page=2)
