# How to position the HUD text in the center of the viewport in VR

**URL:** <https://forums.unrealengine.com/t/how-to-position-the-hud-text-in-the-center-of-the-viewport-in-vr/359554>\
**Category:** XR Development\
**Tags:** hud, unreal-engine, question\
**Created:** [June 3, 2016, 9:59pm UTC](https://forums.unrealengine.com/t/how-to-position-the-hud-text-in-the-center-of-the-viewport-in-vr/359554 "2016-06-03T21:59:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![nachilau](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@nachilau](https://forums.unrealengine.com/u/nachilau)\
**Post date:** [June 3, 2016, 9:59pm UTC](https://forums.unrealengine.com/t/how-to-position-the-hud-text-in-the-center-of-the-viewport-in-vr/359554/1 "2016-06-03T21:59:26Z")

</div>

I try to center my HUD text using the viewport Size x/2 and y/2 according to other posts suggest, however, it didn’t work in VR case. An y easy way to set the position of my test always at the center of the screen even in VR mode?

---

<div class="post-metadata">

**Author:** ![Jonas\_Molgaard](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Jonas\_Molgaard](https://forums.unrealengine.com/u/Jonas_Molgaard)\
**Post date:** [December 31, 2016, 3:12pm UTC](https://forums.unrealengine.com/t/how-to-position-the-hud-text-in-the-center-of-the-viewport-in-vr/359554/2 "2016-12-31T15:12:03Z")

</div>

Realize this is an old question, but wanted to check if you figured it out. I was doing some experiments with vr and huds, and found that u need to use 3d widgets or stereo layers. Hope this helps
