# Is there an Unreal Engine function that resets the origin to the local spatial anchor created through the HoloLens?

**URL:** <https://forums.unrealengine.com/t/is-there-an-unreal-engine-function-that-resets-the-origin-to-the-local-spatial-anchor-created-through-the-hololens/728790>\
**Category:** Blueprint\
**Tags:** HoloLens-2, unreal-engine, Blueprint, question\
**Created:** [December 15, 2022, 8:12am UTC](https://forums.unrealengine.com/t/is-there-an-unreal-engine-function-that-resets-the-origin-to-the-local-spatial-anchor-created-through-the-hololens/728790 "2022-12-15T08:12:17Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![568312](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@568312](https://forums.unrealengine.com/u/568312)\
**Post date:** [December 15, 2022, 8:12am UTC](https://forums.unrealengine.com/t/is-there-an-unreal-engine-function-that-resets-the-origin-to-the-local-spatial-anchor-created-through-the-hololens/728790/1 "2022-12-15T08:12:17Z")

</div>

Is there an Unreal Engine function that resets the origin to the local spatial anchor created through the HoloLens?

When I use the azure spatial anchor, I could do that by the function called “Set AR World Origin Location and Rotation” in Unreal Engine.

But now I can’t use the azure spatial anchor because it’s not available for deploying app in window by hololens remote player

I’m doing in unreal engine5.1  
I should reset the world origin location and rotation to local spatial anchor
