# How can I get the location of an object and spawn player/character at that location with f key or any other key

**URL:** <https://forums.unrealengine.com/t/how-can-i-get-the-location-of-an-object-and-spawn-player-character-at-that-location-with-f-key-or-any-other-key/427888>\
**Category:** Blueprint\
**Tags:** project-world-locati, unreal-engine, UE4, question, Blueprint\
**Created:** [June 22, 2018, 3:59am UTC](https://forums.unrealengine.com/t/how-can-i-get-the-location-of-an-object-and-spawn-player-character-at-that-location-with-f-key-or-any-other-key/427888 "2018-06-22T03:59:08Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Wethebestcontent](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Wethebestcontent](https://forums.unrealengine.com/u/Wethebestcontent)\
**Post date:** [June 22, 2018, 3:59am UTC](https://forums.unrealengine.com/t/how-can-i-get-the-location-of-an-object-and-spawn-player-character-at-that-location-with-f-key-or-any-other-key/427888/1 "2018-06-22T03:59:08Z")

</div>

Hay there I am working on a project and I got stuck at a point that the first the player is distroyed and the camaraderie changes to object and I want to spawn the player to the location of the object

---

<div class="post-metadata">

**Author:** ![Nebula\_Games\_Inc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Nebula\_Games\_Inc](https://forums.unrealengine.com/u/Nebula_Games_Inc)\
**Post date:** [June 23, 2018, 10:25pm UTC](https://forums.unrealengine.com/t/how-can-i-get-the-location-of-an-object-and-spawn-player-character-at-that-location-with-f-key-or-any-other-key/427888/2 "2018-06-23T22:25:57Z")

</div>

Use “get world location” of the object and “spawn actor from class” and use the object location as the location value in the transform pin for the spawn node.
