# How to get cursor location in world space in VR?

**URL:** <https://forums.unrealengine.com/t/how-to-get-cursor-location-in-world-space-in-vr/438940>\
**Category:** XR Development\
**Tags:** unreal-engine, mouse-position, question\
**Created:** [December 5, 2018, 9:18pm UTC](https://forums.unrealengine.com/t/how-to-get-cursor-location-in-world-space-in-vr/438940 "2018-12-05T21:18:55Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ixiguis](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Ixiguis](https://forums.unrealengine.com/u/Ixiguis)\
**Post date:** [December 5, 2018, 9:18pm UTC](https://forums.unrealengine.com/t/how-to-get-cursor-location-in-world-space-in-vr/438940/1 "2018-12-05T21:18:55Z")

</div>

Using GetHitResultUnderCursor yields the wrong world-space location when playing in VR (see screenshot).

What I want: the user using the PC (keyboard+mouse) to be able to interact with the world by using the mouse, while another player visualizes it in VR.

This bug happens both in VR Preview and in a packaged game.

Any other suggestions / workaround?

Thanks.

 ![261389-untitled.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/d/3/7d3f2e1fa643bfdac7be4fa65976dfc41bbfb93f.jpeg)
