# Some questions about the worldLocation in the Blueprint

**URL:** <https://forums.unrealengine.com/t/some-questions-about-the-worldlocation-in-the-blueprint/398935>\
**Category:** Blueprint\
**Tags:** unreal-engine, world-location, Blueprint, question\
**Created:** [June 19, 2017, 2:47am UTC](https://forums.unrealengine.com/t/some-questions-about-the-worldlocation-in-the-blueprint/398935 "2017-06-19T02:47:05Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_0cf16483](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_0cf16483](https://forums.unrealengine.com/u/anonymous_user_0cf16483)\
**Post date:** [June 19, 2017, 2:47am UTC](https://forums.unrealengine.com/t/some-questions-about-the-worldlocation-in-the-blueprint/398935/1 "2017-06-19T02:47:05Z")

</div>

I get a problem when I try to get the player character’s worldLocation, I used the get worldLocation node to do it. I found that in the beginning, everything is fine, but once I was blocked by something, If I still keep moving by pushing the keyboard, the worldLocation will keep changing in the axis which I’m going through instead of keeping the player character’s real worldLocation. I don’t know what’s going on, I have tried it in the different version of the UE4, and get the same result. Did anyone know what’s the problem and how to get the real worldLocation?

---

<div class="post-metadata">

**Author:** ![redbox](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@redbox](https://forums.unrealengine.com/u/redbox)\
**Post date:** [June 19, 2017, 9:13am UTC](https://forums.unrealengine.com/t/some-questions-about-the-worldlocation-in-the-blueprint/398935/2 "2017-06-19T09:13:46Z")

</div>

It will work in that way because you are not processing blocking by something.

For now its complicated to understand what you want to achieve, so I need some better explanation of why you need to set world location instead of using AddMovementInput.

---

<div class="post-metadata">

**Author:** ![Ninjin](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Ninjin](https://forums.unrealengine.com/u/Ninjin)\
**Post date:** [June 19, 2017, 9:42am UTC](https://forums.unrealengine.com/t/some-questions-about-the-worldlocation-in-the-blueprint/398935/3 "2017-06-19T09:42:03Z")

</div>

So you get your world location by get world location, but how do you make it move?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_0cf16483](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_0cf16483](https://forums.unrealengine.com/u/anonymous_user_0cf16483)\
**Post date:** [June 19, 2017, 1:50pm UTC](https://forums.unrealengine.com/t/some-questions-about-the-worldlocation-in-the-blueprint/398935/4 "2017-06-19T13:50:39Z")

</div>

It’s a thirdPerson mode, I just push the w key to move forward, and I used the get world location node to get the character’s world location in every frame.

---

<div class="post-metadata">

**Author:** ![redbox](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@redbox](https://forums.unrealengine.com/u/redbox)\
**Post date:** [June 19, 2017, 1:52pm UTC](https://forums.unrealengine.com/t/some-questions-about-the-worldlocation-in-the-blueprint/398935/5 "2017-06-19T13:52:56Z")

</div>

It is better to use standard setup with AddMovementInput.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_0cf16483](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_0cf16483](https://forums.unrealengine.com/u/anonymous_user_0cf16483)\
**Post date:** [June 19, 2017, 1:58pm UTC](https://forums.unrealengine.com/t/some-questions-about-the-worldlocation-in-the-blueprint/398935/6 "2017-06-19T13:58:42Z")

</div>

I didn’t use it to set the world location, I just want to get the character’s world location in real time, But when I move, sometimes I will hit somethings or struck by some other objects, Once it happens, the world location will be wrong, cause the value of the world location don’t stop changing

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_0cf16483](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_0cf16483](https://forums.unrealengine.com/u/anonymous_user_0cf16483)\
**Post date:** [June 19, 2017, 2:00pm UTC](https://forums.unrealengine.com/t/some-questions-about-the-worldlocation-in-the-blueprint/398935/7 "2017-06-19T14:00:26Z")

</div>

the input is Addmovementinput

---

<div class="post-metadata">

**Author:** ![Ninjin](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Ninjin](https://forums.unrealengine.com/u/Ninjin)\
**Post date:** [June 19, 2017, 2:15pm UTC](https://forums.unrealengine.com/t/some-questions-about-the-worldlocation-in-the-blueprint/398935/8 "2017-06-19T14:15:19Z")

</div>

“Blocked by something” This makes me curious. I actually started the ThirdPersonExampleMap and walked into a wall to check what’s going on and I don’t have any issues. So, is this also happening with your project or did you make some code changes that stop the player somehow? \<3

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_0cf16483](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_0cf16483](https://forums.unrealengine.com/u/anonymous_user_0cf16483)\
**Post date:** [June 19, 2017, 2:19pm UTC](https://forums.unrealengine.com/t/some-questions-about-the-worldlocation-in-the-blueprint/398935/9 "2017-06-19T14:19:17Z")

</div>

> **[MEGA](https://mega.nz/#!FbInyAYZ!-J-cf0Sg7zfCyTSgD4P37vw46R8Ny_kCYjArseOUBNQ)**
>
> MEGA provides free cloud storage with convenient and powerful always-on privacy. Claim your free 20GB now

This is my project, It’s just a very simple project, would you please help me to see this project

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_0cf16483](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_0cf16483](https://forums.unrealengine.com/u/anonymous_user_0cf16483)\
**Post date:** [June 19, 2017, 2:24pm UTC](https://forums.unrealengine.com/t/some-questions-about-the-worldlocation-in-the-blueprint/398935/10 "2017-06-19T14:24:19Z")

</div>

> **[MEGA](https://mega.nz/#!FbInyAYZ!-J-cf0Sg7zfCyTSgD4P37vw46R8Ny_kCYjArseOUBNQ)**
>
> MEGA provides free cloud storage with convenient and powerful always-on privacy. Claim your free 20GB now

This is my project, It’s a very simple project, would you please help me to see what’s going on with it,
