# Local Multiplayer - overlap event is triggered to all players

**URL:** <https://forums.unrealengine.com/t/local-multiplayer-overlap-event-is-triggered-to-all-players/490837>\
**Category:** Multiplayer & Networking\
**Tags:** trigger, unreal-engine, local-multiplayer, Multiplayer, question, overlap-event\
**Created:** [November 11, 2021, 5:40pm UTC](https://forums.unrealengine.com/t/local-multiplayer-overlap-event-is-triggered-to-all-players/490837 "2021-11-11T17:40:52Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![MunzeKonza993](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MunzeKonza993](https://forums.unrealengine.com/u/MunzeKonza993)\
**Post date:** [November 11, 2021, 5:40pm UTC](https://forums.unrealengine.com/t/local-multiplayer-overlap-event-is-triggered-to-all-players/490837/1 "2021-11-11T17:40:52Z")

</div>

Hello guys.  
i created a local multiplayer game, where first player plays via keyboard and second player via gamepad.  
So far all is working and i am able to separate the player with their index.

Now ther is one particular issue i can not overcome:  
When the Player is starting the Overlap Event on a checkpoint, it gets executed to all players not only to the one that triggered the overlap event.

Some help would be appreciated, so that when one player triggers the overlapp event only he is affected and not all players.

Thanks

---

<div class="post-metadata">

**Author:** ![Tuerer](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/tuerer/32/1008648_2.png) [@Tuerer](https://forums.unrealengine.com/u/Tuerer)\
**Post date:** [November 11, 2021, 7:14pm UTC](https://forums.unrealengine.com/t/local-multiplayer-overlap-event-is-triggered-to-all-players/490837/2 "2021-11-11T19:14:10Z")

</div>

Can you show how you’re handling the overlap event?

---

<div class="post-metadata">

**Author:** ![MunzeKonza993](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MunzeKonza993](https://forums.unrealengine.com/u/MunzeKonza993)\
**Post date:** [November 12, 2021, 12:43pm UTC](https://forums.unrealengine.com/t/local-multiplayer-overlap-event-is-triggered-to-all-players/490837/3 "2021-11-12T12:43:32Z")

</div>

![352065-rtemplate-unreal-editor.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/2/8/b28a348ba13952949e6a2c6440cc01452bed3f5d.png)

---

<div class="post-metadata">

**Author:** ![Tuerer](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/tuerer/32/1008648_2.png) [@Tuerer](https://forums.unrealengine.com/u/Tuerer)\
**Post date:** [November 12, 2021, 1:05pm UTC](https://forums.unrealengine.com/t/local-multiplayer-overlap-event-is-triggered-to-all-players/490837/4 "2021-11-12T13:05:26Z")

</div>

I don’t know exactly how local multiplayer differs from regular multiplayer, buy I guess its basically the same. As I see it, your character (car) exists both on the server and all the clients, and the overlap event is fired on all of them. Try checking if your car IsLocallyControlled, and only then do the rest.

---

<div class="post-metadata">

**Author:** ![MunzeKonza993](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MunzeKonza993](https://forums.unrealengine.com/u/MunzeKonza993)\
**Post date:** [November 12, 2021, 1:20pm UTC](https://forums.unrealengine.com/t/local-multiplayer-overlap-event-is-triggered-to-all-players/490837/5 "2021-11-12T13:20:28Z")

</div>

Hi, thanks for replying and helping out 🙂

The solution you suggested i was able to find too, by research. But it looked to me as if it is only for online multiplayer, as from my understanding in local multiplayer all players are local. First Player uses keyboard and the second a gamepad?  
But maybe i am missunderstanding something, i’ll try it out and let you know if it was successful.

---

<div class="post-metadata">

**Author:** ![MunzeKonza993](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MunzeKonza993](https://forums.unrealengine.com/u/MunzeKonza993)\
**Post date:** [November 12, 2021, 1:27pm UTC](https://forums.unrealengine.com/t/local-multiplayer-overlap-event-is-triggered-to-all-players/490837/6 "2021-11-12T13:27:42Z")

</div>

I tried it out like this, but no success:

 ![352066-rtemplate2-unreal-editor.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/6/5/e65f5a39c295f6dfcf41412a69ae66788dbfbe1b.png)

When i debug the blueprints, i see that as soon as the overlap begins, player 1 is always checked first and then player2.

I was banging my head around this a few days now, and research in the wide web didn’t help unfortunately.

---

<div class="post-metadata">

**Author:** ![Tuerer](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/tuerer/32/1008648_2.png) [@Tuerer](https://forums.unrealengine.com/u/Tuerer)\
**Post date:** [November 12, 2021, 2:15pm UTC](https://forums.unrealengine.com/t/local-multiplayer-overlap-event-is-triggered-to-all-players/490837/7 "2021-11-12T14:15:18Z")

</div>

Okay, but if it’s one level and one object, I can’t really see how it would be possible to change it for one player and not for the other. Maybe you can pull it off with Post Process settings for players’ cameras, like make them not render some objects.

---

<div class="post-metadata">

**Author:** ![MunzeKonza993](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MunzeKonza993](https://forums.unrealengine.com/u/MunzeKonza993)\
**Post date:** [November 15, 2021, 1:43pm UTC](https://forums.unrealengine.com/t/local-multiplayer-overlap-event-is-triggered-to-all-players/490837/8 "2021-11-15T13:43:07Z")

</div>

Still no solution found ☹

---

<div class="post-metadata">

**Author:** ![MunzeKonza993](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MunzeKonza993](https://forums.unrealengine.com/u/MunzeKonza993)\
**Post date:** [November 16, 2021, 9:41am UTC](https://forums.unrealengine.com/t/local-multiplayer-overlap-event-is-triggered-to-all-players/490837/9 "2021-11-16T09:41:46Z")

</div>

I have solved the problem in a way, it seems to me not the perfect solution but it works.  
The Overlap Event still fires two times (2 Players in game) which is not nice , but this time he will check only the Player which really Overlaps the trigger.  
Here is a screenshot for all those that maybe encountered the same problem and could not find a solution in the web.  
Few Remarks:

- Pass Index is a Interface which sends the Player Index from Controller to the bpCheckout blueprint
- PassControllerArray is a Interface which send the saved Controller in the GameMode to bpCheckout
- Call Checkpoint cleared has now a Input (CarController), so that when this Event is triggered it will proceed the right Controller which has been triggered.

 ![352241-rtemplate3-unreal-editor.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/7/e/a7e17e8dfb63c066c0bc6ad9324e2e990895fdf0.png)

- Now here you see that Checkpoint Cleared Event is called afterwards and it will proceed the right Controller:

 ![352242-rtemplate4-unreal-editor.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/6/8/e6854c322dbaf2337b87615a53073b033b8f1ad2.png)

---

<div class="post-metadata">

**Author:** ![MunzeKonza993](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MunzeKonza993](https://forums.unrealengine.com/u/MunzeKonza993)\
**Post date:** [November 16, 2021, 9:43am UTC](https://forums.unrealengine.com/t/local-multiplayer-overlap-event-is-triggered-to-all-players/490837/10 "2021-11-16T09:43:38Z")

</div>

It’s still not the best solution, but as i said for now it does work like that.  
Therefore if someone knows a better solution i am open to see it 🙂

---

<div class="post-metadata">

**Author:** ![Talad](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Talad](https://forums.unrealengine.com/u/Talad)\
**Post date:** [June 10, 2024, 4:29pm UTC](https://forums.unrealengine.com/t/local-multiplayer-overlap-event-is-triggered-to-all-players/490837/11 "2024-06-10T16:29:36Z")

</div>

Hi, I had the same issue, and from my tests the overlap is sent to all players which are in range of the trigger, I assume this is useful when for example a player triggers a platform or similar, so all players in range should see it.

If the second player is far away enough, the overlap event is not triggered.

In any case you should filter by checking the player like suggested below.
