# How can I make a crosshair widget in 3D space?

**URL:** <https://forums.unrealengine.com/t/how-can-i-make-a-crosshair-widget-in-3d-space/488871>\
**Category:** UI\
**Tags:** crosshair, unreal-engine, Widget, question\
**Created:** [September 16, 2021, 3:35pm UTC](https://forums.unrealengine.com/t/how-can-i-make-a-crosshair-widget-in-3d-space/488871 "2021-09-16T15:35:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![MrGoatsy](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/mrgoatsy/32/918697_2.png) [@MrGoatsy](https://forums.unrealengine.com/u/MrGoatsy)\
**Post date:** [September 16, 2021, 3:35pm UTC](https://forums.unrealengine.com/t/how-can-i-make-a-crosshair-widget-in-3d-space/488871/1 "2021-09-16T15:35:08Z")

</div>

I am currently working with the Advanced Locomotion System V4 and I want to have a crosshair on the screen where the gun aims at.

I can add a crosshair with a widget, but that is just in the centre of the screen and not at all where the gun is aiming at.

How would I go about doing this?

---

<div class="post-metadata">

**Author:** ![SithHunter](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SithHunter](https://forums.unrealengine.com/u/SithHunter)\
**Post date:** [September 23, 2021, 4:49pm UTC](https://forums.unrealengine.com/t/how-can-i-make-a-crosshair-widget-in-3d-space/488871/2 "2021-09-23T16:49:08Z")

</div>

You could do this few ways but the way I’d likely approach it is to do a line trace on tick with a set distance and have it draw a decal at that point or at the trace collision point.

---

<div class="post-metadata">

**Author:** ![MrGoatsy](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/mrgoatsy/32/918697_2.png) [@MrGoatsy](https://forums.unrealengine.com/u/MrGoatsy)\
**Post date:** [October 12, 2021, 5:24am UTC](https://forums.unrealengine.com/t/how-can-i-make-a-crosshair-widget-in-3d-space/488871/3 "2021-10-12T05:24:41Z")

</div>

I kinda of did it:

> **[Crosshair posted by anonymous | blueprintUE | PasteBin For Unreal Engine 4](https://blueprintue.com/blueprint/f3ptprmf/)**
>
> No description provided

Archive for if the website ever goes down:  
[https://archive.is/HCLpH](https://archive.is/HCLpH)
