# Owning client event question

**URL:** <https://forums.unrealengine.com/t/owning-client-event-question/508426>\
**Category:** Multiplayer & Networking\
**Tags:** Replication, unreal-engine, Multiplayer, UE4-27, question\
**Created:** [March 20, 2022, 7:33pm UTC](https://forums.unrealengine.com/t/owning-client-event-question/508426 "2022-03-20T19:33:32Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![DokySamejima](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DokySamejima](https://forums.unrealengine.com/u/DokySamejima)\
**Post date:** [March 20, 2022, 7:33pm UTC](https://forums.unrealengine.com/t/owning-client-event-question/508426/1 "2022-03-20T19:33:32Z")

</div>

Hello, im spawning an actor with a colision that detects the player and then calls an event inside the player. The problem im having is that when i collect the item with a server the widget im calling in that event is also showing in the clients. But when the clients got the item its working ok and the widget is only shown in the client. but between clients is also showing the widget in client 1 and 2 so its wrong.  
Resources that are not spawned but exist in the world are the ones that are working wrong, resources that are spawned when you kill a enemy are working right if enought distance exists.  
Here is the event:

 ![h](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/5/6/e5667888fa90813bf27262a63872941490c6f2b3.png)  
What am i doing wrong?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_30ad8436](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_30ad8436](https://forums.unrealengine.com/u/anonymous_user_30ad8436)\
**Post date:** [March 22, 2022, 3:15pm UTC](https://forums.unrealengine.com/t/owning-client-event-question/508426/2 "2022-03-22T15:15:57Z")

</div>

There’s an interesting thread of a very similar question a while back. You would need a Switch that “has authority” to branch depending on whether the object is local or owned elsewhere. I think this should help you:

> [@Proper use of Switch Has Authority](https://forums.unrealengine.com/t/proper-use-of-switch-has-authority/298229/2):
>
> Switch has authority just tests if the player is the client or the server. So everything behind “Authority” only gets called if it’s called on the server and everything behind “Remote” gets called if a client uses it. I guess the server itself counts as a client too :X. If you have a replicated variable, that holds your weapon, you can make a custom event that is called by client and only runs on server (so behind the red node you put the Switch node and take the Authority). If the client know…
