# AR Distance to/from Player's Current Location

**URL:** <https://forums.unrealengine.com/t/ar-distance-to-from-players-current-location/2534615>\
**Category:** Platform & Builds\
**Tags:** AR, unreal-engine, Blueprint, question\
**Created:** [May 30, 2025, 9:33pm UTC](https://forums.unrealengine.com/t/ar-distance-to-from-players-current-location/2534615 "2025-05-30T21:33:09Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![anthonyjude](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anthonyjude](https://forums.unrealengine.com/u/anthonyjude)\
**Post date:** [May 30, 2025, 9:33pm UTC](https://forums.unrealengine.com/t/ar-distance-to-from-players-current-location/2534615/1 "2025-05-30T21:33:09Z")

</div>

I cannot for the life of me figure out how to get the player’s current position in AR. I just want to use it in a simple “Get Distance To” to determine whether or not I should destroy an actor ie: if you move too far away from it.

I’ve tried Self, Get Player Controller, and Get Camera Manager, but none of them seem to register the change in distance and keep thinking I am at the player start location.

I’d prefer not to have to use location services for something this simple. Any advice? Thanks!

---

<div class="post-metadata">

**Author:** ![anthonyjude](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anthonyjude](https://forums.unrealengine.com/u/anthonyjude)\
**Post date:** [May 31, 2025, 4:58am UTC](https://forums.unrealengine.com/t/ar-distance-to-from-players-current-location/2534615/2 "2025-05-31T04:58:58Z")

</div>

For anyone looking in the future, I figured it out with this post and video and then created the below code

> [@Getting AR Pawn's location](https://forums.unrealengine.com/t/getting-ar-pawns-location/456676):
>
> Hi, I’m using Unreal Engine version 4.23.0. Currently, I’m developing an AR app and I have to get AR Pawn’s location (where the actual phone is) but it keeps returning (0,0,0). Other actors seem to have their location correctly. I connect a “Print String” node to Event Tick in BP\_ArPawn where the location uses “Get Actor Location” node.

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/f/9/ff9c4ef379d37a00c5078e9db51c1284bc4ff81b.jpeg "WTF Is? Deproject Screen to World in Unreal Engine 4 ( UE4 )") ](https://www.youtube.com/watch?v=K3PRdupeCso)

 ![arcode](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/2/4/824770eec0ba20219f1ad5a67825959b1de15ed0.jpeg)
