# Teleportation in Multiplayer

**URL:** <https://forums.unrealengine.com/t/teleportation-in-multiplayer/330203>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine\
**Created:** [August 28, 2015, 2:42pm UTC](https://forums.unrealengine.com/t/teleportation-in-multiplayer/330203 "2015-08-28T14:42:28Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![anonymous\_user\_359f4d3c](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_359f4d3c](https://forums.unrealengine.com/u/anonymous_user_359f4d3c)\
**Post date:** [August 28, 2015, 4:07pm UTC](https://forums.unrealengine.com/t/teleportation-in-multiplayer/330203/2 "2015-08-28T16:07:23Z")

</div>

Since the actors are replicated from the server to client (not the other way around!), you’ll need to execute all actions that should affect all players on the server.

Basically, in addition to the _Teleport function_, create a _custom event_ (in the same Blueprint) that calls the matching function. In the Details panel of the event, set the _Replicates_ property to _Run On Server_. Then replace your current function call with a call to the event instead.

 ![56223-customteleporteventonserver.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/f/3/7f33cb3a5f6f84980958a47d5ebc2f7533844c46.png)

The server will take care of moving the character and then, because the characters and their movement are replicated, inform all clients about the updated location.

The same applies to spawning and destroying actors.

I found this video series extremely helpful:

> **[A new, community-hosted Unreal Engine Wiki](https://forums.unrealengine.com/t/a-new-community-hosted-unreal-engine-wiki/141494)**
>
> After over a year in maintenance mode, the official Unreal Engine Wiki is now permanently offline. These resources now live on a new community-run Unreal Engine Community Wiki — https://unrealcommunity.wiki/! You will be able to find content from...

Also, right now your characters will always teleport into a fixed direction. If you want to make this depend on their current rotation, you can use the _GetForwardVector_:

> **[Blink/Teleport](https://forums.unrealengine.com/questions/291875/blinkteleport.html)**
>
> Hello guys, I was having fun with the blueprint system in recent weeks and was trying to implement a skill flash \\ teleport a short distance to where the model is looking (like this UE4 Blueprint Blink/Teleport Test - YouTube). Can anyone help me...

Good luck!

PS: Try cropping your screenshots. They’ve got these huge white borders right now.

---

_[View the full topic](https://forums.unrealengine.com/t/teleportation-in-multiplayer/330203)._
