# I wish for the prop to return to its designated position when the player dies whilst it is moving.

**URL:** <https://forums.unrealengine.com/t/i-wish-for-the-prop-to-return-to-its-designated-position-when-the-player-dies-whilst-it-is-moving/2687298>\
**Category:** Verse\
**Tags:** unreal-editor-for-fortnite, fortnite-creative, question, fortnite\
**Created:** [December 24, 2025, 5:32am UTC](https://forums.unrealengine.com/t/i-wish-for-the-prop-to-return-to-its-designated-position-when-the-player-dies-whilst-it-is-moving/2687298 "2025-12-24T05:32:58Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![studyingUEFN](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/studyinguefn/32/997250_2.png) [@studyingUEFN](https://forums.unrealengine.com/u/studyingUEFN)\
**Post date:** [December 24, 2025, 5:32am UTC](https://forums.unrealengine.com/t/i-wish-for-the-prop-to-return-to-its-designated-position-when-the-player-dies-whilst-it-is-moving/2687298/1 "2025-12-24T05:32:58Z")

</div>

I’d like to make it so that a moving prop returns to its designated position when the player dies, but it’s not working properly, so I’d appreciate some guidance.

Upon death, instead of teleporting back to the designated location, it ends up somewhere else.

Perhaps it’s not working properly because the prop is being moved at the time?

> using { /Fortnite.com/Devices }
> 
> using { /Verse.org/Simulation }
> 
> using { /UnrealEngine.com/Temporary/Diagnostics }
> 
> using { /UnrealEngine.com/Temporary/SpatialMath }
> 
> move\_floor := class(creative\_device):
> 
> ```
> @editable Floor_Cube : creative_prop= creative_prop{}
> 
> @editable FBarrier: barrier_device= barrier_device{}
> 
> @editable BBarrier: barrier_device= barrier_device{}
> 
> @editable Teleporter : teleporter_device = teleporter_device{}
> 
> @editable
> 
> var MovingTime : float = 10.0
> 
> @editable EliminationManager: elimination_manager_device = elimination_manager_device{}
> 
> Gamestert(Agent:agent):void=
> 
> spawn:
> 
> GamestertSuspends(Agent)
> 
> spawn:
> 
> GamestertFBarrier(Agent)
> 
> spawn:
> 
> GamestertBBarrier(Agent)
> 
> GamestertSuspends(Agent:agent)<suspends>:void=
> 
> Transform := Floor_Cube.GetTransform()
> 
> PositionX := Transform.Translation.X
> 
> PositionY := Transform.Translation.Y
> 
> PositionZ := Transform.Translation.Z
> 
> Rotation := Transform.Rotation
> 
> NowPosition := vector3{X := PositionX, Y:= PositionY, Z := PositionZ}
> 
> NewRotation := Rotation.ApplyYaw(0.0)
> 
> NewPosition := vector3{X := PositionX, Y:= PositionY+30298.0, Z := PositionZ}
> 
>    
> 
> Floor_Cube.MoveTo(NewPosition,NewRotation,MovingTime)
> 
> if(Floor_Cube.TeleportTo\[vector3{X:=4603.000000,Y:=14256.000000,Z:=4833.000000},Floor_Cube.GetTransform().Rotation\]):
> 
> Print("kill you2")
> 
> OnBegin<override>()<suspends>:void=
> 
> Teleporter.TeleportedEvent.Subscribe(Gamestert)
> 
> EliminationManager.EliminationEvent.Subscribe(OnEliminated)
> 
> ```

---

<div class="post-metadata">

**Author:** ![BRGJuanCruzMK](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/brgjuancruzmk/32/1036548_2.png) [@BRGJuanCruzMK](https://forums.unrealengine.com/u/BRGJuanCruzMK)\
**Post date:** [January 5, 2026, 6:11pm UTC](https://forums.unrealengine.com/t/i-wish-for-the-prop-to-return-to-its-designated-position-when-the-player-dies-whilst-it-is-moving/2687298/2 "2026-01-05T18:11:54Z")

</div>

Hey @studyingUEFN how are you?

As far as I can understand with your code, the best way to do it is to first store in a variable the starting position, and then teleport the prop to that position instead of usinga hard coded vector3.

If you could share your complete code I would be able to check it in a better way and provide more support with specific functions and variables!

I’ll be waiting for it!

---

<div class="post-metadata">

**Author:** ![studyingUEFN](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/studyinguefn/32/997250_2.png) [@studyingUEFN](https://forums.unrealengine.com/u/studyingUEFN)\
**Post date:** [January 7, 2026, 1:53am UTC](https://forums.unrealengine.com/t/i-wish-for-the-prop-to-return-to-its-designated-position-when-the-player-dies-whilst-it-is-moving/2687298/3 "2026-01-07T01:53:57Z")

</div>

Following your advice to **store the position in a variable** worked perfectly. Thank you very much!
