# ProjectWorldToScreen always returns false in VR

**URL:** <https://forums.unrealengine.com/t/projectworldtoscreen-always-returns-false-in-vr/428564>\
**Category:** XR Development\
**Tags:** project-world-locati, unreal-engine, bug-report, question\
**Created:** [July 2, 2018, 8:26pm UTC](https://forums.unrealengine.com/t/projectworldtoscreen-always-returns-false-in-vr/428564 "2018-07-02T20:26:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![YawLighthouse](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/yawlighthouse/32/1125831_2.png) [@YawLighthouse](https://forums.unrealengine.com/u/YawLighthouse)\
**Post date:** [July 2, 2018, 8:26pm UTC](https://forums.unrealengine.com/t/projectworldtoscreen-always-returns-false-in-vr/428564/1 "2018-07-02T20:26:50Z")

</div>

Hello, I was trying to get the project world to screen position while in VR using a widget component and widget interaction component and it kept returning a value of 0.0,0.0 and the boolean return value was always false. So I went digging through the source code and found that ProjectWorldToScreen was always returning false at the first if statement because the Result.W always returns a negative number. If anybody has a solution or any help would be appreciated! 😃

## Steps to reproduce using the VR template:

1. New Actor with widget component and PickupActorInterface

2. New widget blueprint with any widgets that can cause collision to occur.

3. Create a new function or event, similar to the below image

4. Back in the actor copy the below image

* * *

Blueprint code Images:

1. 

 ![246000-capture.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/1/8/c188f122d59c25140cc8bbb046c4a71806f7b413.png)

1. 

 ![245999-capture.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/1/2/a12e27d8639693f319152d78276d2ea162c21779.png)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_942e8e52](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_942e8e52](https://forums.unrealengine.com/u/anonymous_user_942e8e52)\
**Post date:** [July 2, 2018, 9:22pm UTC](https://forums.unrealengine.com/t/projectworldtoscreen-always-returns-false-in-vr/428564/2 "2018-07-02T21:22:46Z")

</div>

Hello Oldsiren,

Might be related to [Unreal Engine Issues and Bug Tracker (UE-57273)](https://issues.unrealengine.com/issue/UE-57273)

Let me know if you’re still seeing this in 4.20!

---

<div class="post-metadata">

**Author:** ![YawLighthouse](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/yawlighthouse/32/1125831_2.png) [@YawLighthouse](https://forums.unrealengine.com/u/YawLighthouse)\
**Post date:** [July 2, 2018, 10:12pm UTC](https://forums.unrealengine.com/t/projectworldtoscreen-always-returns-false-in-vr/428564/3 "2018-07-02T22:12:32Z")

</div>

Will do! 😃
