# How replication works?

**URL:** <https://forums.unrealengine.com/t/how-replication-works/1770385>\
**Category:** Multiplayer & Networking\
**Tags:** unreal-engine, Blueprint, question\
**Created:** [March 24, 2024, 8:03pm UTC](https://forums.unrealengine.com/t/how-replication-works/1770385 "2024-03-24T20:03:04Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Shunitzo](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/shunitzo/32/1194547_2.png) [@Shunitzo](https://forums.unrealengine.com/u/Shunitzo)\
**Post date:** [March 24, 2024, 8:16pm UTC](https://forums.unrealengine.com/t/how-replication-works/1770385/2 "2024-03-24T20:16:28Z")

</div>

> [@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…

---

_[View the full topic](https://forums.unrealengine.com/t/how-replication-works/1770385)._
