# Detect device movements

**URL:** <https://forums.unrealengine.com/t/detect-device-movements/2652834>\
**Category:** Blueprint\
**Tags:** unreal-engine, Android, question\
**Created:** [September 1, 2025, 3:41pm UTC](https://forums.unrealengine.com/t/detect-device-movements/2652834 "2025-09-01T15:41:48Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Reicon](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Reicon](https://forums.unrealengine.com/u/Reicon)\
**Post date:** [September 1, 2025, 3:41pm UTC](https://forums.unrealengine.com/t/detect-device-movements/2652834/1 "2025-09-01T15:41:48Z")

</div>

Hi.

Can someone suggest me a way to detect if the Android device is moving?

I can find a lot of post that talk about the player moving, but what I need is to detect if who is keeping the phisical device is walking an if it is changing direction.

This because I want to move the player in the game like the player in real world.

I can’t find clear explanation

Thanks

---

<div class="post-metadata">

**Author:** ![Mind-Brain](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/mind-brain/32/906573_2.png) [@Mind-Brain](https://forums.unrealengine.com/u/Mind-Brain)\
**Post date:** [September 1, 2025, 5:13pm UTC](https://forums.unrealengine.com/t/detect-device-movements/2652834/2 "2025-09-01T17:13:59Z")

</div>

Hello, @Reicon!

If you want something like steering for a racing game, you want to use the accelerometer within the phone, which would be accessible through certain plugins, I don’t think UE5 has native integration without plugins.

If you want something akin to Pokemon GO! or Monster Hunter Now, you need to use Geo Tracking, which is supported a BIT:

> **[Geo Tracking | Unreal Engine 5.1 Documentation | Epic Developer Community](https://dev.epicgames.com/documentation/en-us/unreal-engine/BlueprintAPI/ARAugmentedReality/GeoTracking?application_version=5.1)**
>
> Geo Tracking

But if you want fine movement detection you will need an external camera like with a lot of advanced VR setups.

Hope this helped! 🙂

---

<div class="post-metadata">

**Author:** ![Reicon](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Reicon](https://forums.unrealengine.com/u/Reicon)\
**Post date:** [September 2, 2025, 7:13pm UTC](https://forums.unrealengine.com/t/detect-device-movements/2652834/3 "2025-09-02T19:13:54Z")

</div>

I need to understand what this exactly do and search some example, but I think this is what I am searching for.

---

<div class="post-metadata">

**Author:** ![Reicon](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Reicon](https://forums.unrealengine.com/u/Reicon)\
**Post date:** [September 3, 2025, 9:12am UTC](https://forums.unrealengine.com/t/detect-device-movements/2652834/4 "2025-09-03T09:12:21Z")

</div>

In your opinion can I read latidude and longitude every tick and comparing with previous values calculate a vector to determine the “quantity“ of movement and its direction?

Or are there some dedicate tools in the pool you suggested?

---

<div class="post-metadata">

**Author:** ![Mind-Brain](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/mind-brain/32/906573_2.png) [@Mind-Brain](https://forums.unrealengine.com/u/Mind-Brain)\
**Post date:** [September 3, 2025, 7:43pm UTC](https://forums.unrealengine.com/t/detect-device-movements/2652834/5 "2025-09-03T19:43:02Z")

</div>

> [@Reicon](#):
>
> can I read latidude and longitude every tick and comparing with previous values calculate a vector to determine the “quantity“ of movement and its direction?

Pretty much! That’s how the API seems to be reading. You may want to adjust the tick rate for the actor doing the reading of that so you aren’t checking lat/long 60x second, but yeah use the previous lat/long and compare it to the new lat/long, get the distance, save new lat/long as old lat/long, rinse repeat!

---

<div class="post-metadata">

**Author:** ![Reicon](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Reicon](https://forums.unrealengine.com/u/Reicon)\
**Post date:** [September 5, 2025, 6:22pm UTC](https://forums.unrealengine.com/t/detect-device-movements/2652834/6 "2025-09-05T18:22:13Z")

</div>

Sorry but I am still confused. Ok I understand the concept, but I can’t find an example.

In blueprint the node Get Geo Location at World Position return latitude and longitude, but I can’t understand what World position input is. I mean: am I obtaining the position info by providing the position info? It’s obvious that I am misunderstanding the input source

---

<div class="post-metadata">

**Author:** ![Mind-Brain](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/mind-brain/32/906573_2.png) [@Mind-Brain](https://forums.unrealengine.com/u/Mind-Brain)\
**Post date:** [September 5, 2025, 9:21pm UTC](https://forums.unrealengine.com/t/detect-device-movements/2652834/7 "2025-09-05T21:21:51Z")

</div>

It’s comparing the Geographical location (real world) at World Position (UE level) and converting one to the other.

Try using Cesium or Unreal’s Georeferencing plugin!

Otherwise you’ll have to write something yourself, and something like that would be beyond advanced. I assume anything coded specifically would be guarded tightly or exorbitantly expensive ☹

---

<div class="post-metadata">

**Author:** ![Reicon](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Reicon](https://forums.unrealengine.com/u/Reicon)\
**Post date:** [September 11, 2025, 8:47pm UTC](https://forums.unrealengine.com/t/detect-device-movements/2652834/8 "2025-09-11T20:47:25Z")

</div>

Ok, Thanks. I will try
