# Respawn Spectating players

**URL:** <https://forums.unrealengine.com/t/respawn-spectating-players/1883141>\
**Category:** Verse\
**Tags:** unreal-engine, unreal-editor-for-fortnite, fortnite-creative, editor, question, fortnite\
**Created:** [May 31, 2024, 10:45pm UTC](https://forums.unrealengine.com/t/respawn-spectating-players/1883141 "2024-05-31T22:45:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![XXL](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@XXL](https://forums.unrealengine.com/u/XXL)\
**Post date:** [May 31, 2024, 10:45pm UTC](https://forums.unrealengine.com/t/respawn-spectating-players/1883141/1 "2024-05-31T22:45:11Z")

</div>

can anyone help me make a code to respawn spectating players

---

<div class="post-metadata">

**Author:** ![Enebz](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/enebz/32/875411_2.png) [@Enebz](https://forums.unrealengine.com/u/Enebz)\
**Post date:** [June 19, 2024, 12:05am UTC](https://forums.unrealengine.com/t/respawn-spectating-players/1883141/2 "2024-06-19T00:05:49Z")

</div>

Hello!

Currently, respawning players from spectator mode is very buggy and can lead to some weird behaviour. I’m pretty sure epic are aware of this.

However, respawning spectators is as simple as calling `Agent#Respawn(:vector3, :rotation)` an example would be:

```auto
for:
  Player : GetPlayspace().GetPlayers()
  not Player.IsActive[]
do:
  Player.Respawn(vector3{}, rotation{})

```

Hope this helps you!
