# Linetrace Crosshair?

**URL:** <https://forums.unrealengine.com/t/linetrace-crosshair/474366>\
**Category:** UI\
**Tags:** crosshair, linetrace, shooter-game, unreal-engine, question\
**Created:** [November 12, 2020, 2:58pm UTC](https://forums.unrealengine.com/t/linetrace-crosshair/474366 "2020-11-12T14:58:07Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_3ad9ae12](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_3ad9ae12](https://forums.unrealengine.com/u/anonymous_user_3ad9ae12)\
**Post date:** [November 12, 2020, 2:58pm UTC](https://forums.unrealengine.com/t/linetrace-crosshair/474366/1 "2020-11-12T14:58:07Z")

</div>

I’m trying to make a Third-Person Shooter game, so I want the crosshair to move around the screen to where the gun is pointing like in Jedi Knight. So far, I have a linetrace from the gun until it hits something, and I’ve converted the hit location to 2D screen space, but the crosshair moves around one quadrant of the screen and keeps snapping to the default position, and it’s never anywhere near the impact point in screen space.

What should I do? What [blueprint] code should I use to get the desired effect?

---

<div class="post-metadata">

**Author:** ![Aphix](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Aphix](https://forums.unrealengine.com/u/Aphix)\
**Post date:** [November 12, 2020, 4:26pm UTC](https://forums.unrealengine.com/t/linetrace-crosshair/474366/2 "2020-11-12T16:26:39Z")

</div>

@UnrealTrainee Can you send a video of the project and a video of your desired effect?
