# How do I add multiple Overlapping Actors of Class to Dialogue mechanic?

**URL:** <https://forums.unrealengine.com/t/how-do-i-add-multiple-overlapping-actors-of-class-to-dialogue-mechanic/2655849>\
**Category:** Blueprint\
**Tags:** unreal-engine, question, Blueprint\
**Created:** [September 11, 2025, 9:48pm UTC](https://forums.unrealengine.com/t/how-do-i-add-multiple-overlapping-actors-of-class-to-dialogue-mechanic/2655849 "2025-09-11T21:48:12Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![KatelynBell](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/katelynbell/32/1048677_2.png) [@KatelynBell](https://forums.unrealengine.com/u/KatelynBell)\
**Post date:** [September 11, 2025, 9:48pm UTC](https://forums.unrealengine.com/t/how-do-i-add-multiple-overlapping-actors-of-class-to-dialogue-mechanic/2655849/1 "2025-09-11T21:48:12Z")

</div>

I’ve been trying to learn Unreal for the past 2 months but I’m not sure how to best go about this.

I have a basic Dialogue mechanic that allows me to use some predetermined text with the widget, long as I am overlapping in the sphere trigger I set in the actor’s bp. The problem is, I don’t know how to add more then one Overlapping Actor of Class to the mechanic.

 ![Whisper_In_The_Dark - Unreal Editor 9_11_2025 4_33_58 PM](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/4/d/34dc7c5c026f413eb9193ade4d1e899e70b81be9.png)

 ![Whisper_In_The_Dark - Unreal Editor 9_11_2025 4_35_14 PM](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/2/7/627169d225a58640bed6f4791471b9012d6ffbd5.png)

 ![Whisper_In_The_Dark - Unreal Editor 9_11_2025 4_43_53 PM](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/5/7/c57cefcfffbcd4b25492d90f81d3a9e0279ab164.png) ![Whisper_In_The_Dark - Unreal Editor 9_11_2025 4_44_18 PM](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/7/1/57145b5a719fb1d785650d4cd19fc853464ba9e0.png)

---

<div class="post-metadata">

**Author:** ![RedGrimnir](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/redgrimnir/32/1054683_2.png) [@RedGrimnir](https://forums.unrealengine.com/u/RedGrimnir)\
**Post date:** [September 12, 2025, 1:01pm UTC](https://forums.unrealengine.com/t/how-do-i-add-multiple-overlapping-actors-of-class-to-dialogue-mechanic/2655849/2 "2025-09-12T13:01:44Z")

</div>

Hi there and welcome,

Can you elaborate the question further in detail since it’s a design question so we can help better, try to explain in detail what you are having trouble with etc.

However if you are looking something like GetOverlappingActors (multipleClasses) you can just select actor as filter.

---

<div class="post-metadata">

**Author:** ![KatelynBell](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/katelynbell/32/1048677_2.png) [@KatelynBell](https://forums.unrealengine.com/u/KatelynBell)\
**Post date:** [September 12, 2025, 4:27pm UTC](https://forums.unrealengine.com/t/how-do-i-add-multiple-overlapping-actors-of-class-to-dialogue-mechanic/2655849/3 "2025-09-12T16:27:32Z")

</div>

![Whisper_In_The_Dark - Unreal Editor 9_12_2025 11_11_32 AM](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/d/d/5dd5f2d8de25953b88f96c0faf082d836241d0d8.png)

In my First Person Character, I grab the overlapping actor because I set up a collision sphere called the Trigger Zone in my NPC’s then the loop checks if the actor is implementing my interface BP\_Dialogue and if it does that triggers the Talk Function that belongs to my interface.

 ![Whisper_In_The_Dark - Unreal Editor 9_11_2025 4_33_58 PM](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/4/d/34dc7c5c026f413eb9193ade4d1e899e70b81be9.png)

That triggers my NPC’s Event Talk from the BPI. Talk index is set at -1 and then adds 1 so it starts at zero and for continuing to the next line after E is pressed again. I have a Dialogue string array that contains all the lines for their lines. The UI is the Widget I made earlier.

 ![Whisper_In_The_Dark - Unreal Editor 9_11_2025 4_35_14 PM](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/2/7/627169d225a58640bed6f4791471b9012d6ffbd5.png)  
Dialogue into Length, Length and Talk Index into \< into branch, and out of false to Remove from Parent, to remove the widget, when there is no more lines of speech so the widget won’t remain.

 ![Whisper_In_The_Dark - Unreal Editor 9_12_2025 11_16_46 AM](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/7/c/a7c7c359b458d1488d4796e0a1eecf8d2fab1463.png)

Out of true in the branch, Get (a validated UI Variable) is checking if the widget is on screen, if true it shoots to Set Text (Text) to change the dialogue from the last line. If false, it creates the widget for the player, sets it as the new UI, and adds it to the viewport then hits Set Text (Text).

 ![Whisper_In_The_Dark - Unreal Editor 9_12_2025 11_17_34 AM](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/2/1/3212d8e693df0f95042bb8dcd933a9b9bc3f1994.png)

UI into Target TalkText is the Widget’s Textbox (Set as a variable in the widget) that becomes the target for what text is changed as it’s links to Set Text (Text)’s target.

Talk Index and Dialogue into Get into To Text (String) into In Text, Talk Index correlates with the line Dialogue that currently being presented on the widget and plugs that in.

I hope that makes more sense at least.

---

<div class="post-metadata">

**Author:** ![RedGrimnir](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/redgrimnir/32/1054683_2.png) [@RedGrimnir](https://forums.unrealengine.com/u/RedGrimnir)\
**Post date:** [September 12, 2025, 4:54pm UTC](https://forums.unrealengine.com/t/how-do-i-add-multiple-overlapping-actors-of-class-to-dialogue-mechanic/2655849/4 "2025-09-12T16:54:22Z")

</div>

That is pretty clear thanks for additional explanations.

E-\>CanTalk(True)-\>Talk-\>ShowWidget-\>SetTalkData

I was asking about ` I don’t know how to add more then one Overlapping Actor of Class to the mechanic.` what does this mean? What is the use case you are trying to do ? or in other words what you are trying to do and can’t do?
