# Mouse position on render target into world coordinates?

**URL:** <https://forums.unrealengine.com/t/mouse-position-on-render-target-into-world-coordinates/2711906>\
**Category:** Blueprint\
**Tags:** unreal-engine, Blueprint, question\
**Created:** [April 6, 2026, 5:27pm UTC](https://forums.unrealengine.com/t/mouse-position-on-render-target-into-world-coordinates/2711906 "2026-04-06T17:27:25Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![AllGamesSuck](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@AllGamesSuck](https://forums.unrealengine.com/u/AllGamesSuck)\
**Post date:** [April 6, 2026, 5:27pm UTC](https://forums.unrealengine.com/t/mouse-position-on-render-target-into-world-coordinates/2711906/1 "2026-04-06T17:27:25Z")

</div>

Hi, I have this widget with a render target, that captures the scene from a camera in real time.

Does anyone know how to convert the mouse position on the widget into coordinates in the world, to use with a Line Trace? Also accounting for any stretching that might happen to the widget, and any FOVs of the camera.

Basically I want to interact with objects in the 3d world by clicking on them in the widget.

Thanks.

---

<div class="post-metadata">

**Author:** ![DragonRelt](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/dragonrelt/32/1075747_2.png) [@DragonRelt](https://forums.unrealengine.com/u/DragonRelt)\
**Post date:** [April 8, 2026, 4:10am UTC](https://forums.unrealengine.com/t/mouse-position-on-render-target-into-world-coordinates/2711906/2 "2026-04-08T04:10:33Z")

</div>

![Screenshot 2026-04-08 000909](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/e/c/4ec01bd2efb8b9b0bfbbc728f32205008978f132.png)I used this, now assuming that you want the object to shoot from your UI face, then this should work if im correct.
