# How do I get my arrow to point at my mouse position on my screen

**URL:** <https://forums.unrealengine.com/t/how-do-i-get-my-arrow-to-point-at-my-mouse-position-on-my-screen/1660773>\
**Category:** Blueprint\
**Tags:** unreal-engine, Blueprint, CPP, question\
**Created:** [February 2, 2024, 5:45pm UTC](https://forums.unrealengine.com/t/how-do-i-get-my-arrow-to-point-at-my-mouse-position-on-my-screen/1660773 "2024-02-02T17:45:29Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![DerplingCA](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DerplingCA](https://forums.unrealengine.com/u/DerplingCA)\
**Post date:** [February 2, 2024, 5:45pm UTC](https://forums.unrealengine.com/t/how-do-i-get-my-arrow-to-point-at-my-mouse-position-on-my-screen/1660773/1 "2024-02-02T17:45:29Z")

</div>

Hello!  
I’ve recently switched from Unity to Unreal Engine 5 and I’m currently loving the experience although I’m still fairly new to blueprint scripting. I’m trying to create my first game (a first person game) using Unreal and I’m having a blast discovering the engine. Here’s my issue however. I’m trying to get mym crosshair (Which is an arrow) to point at where my mouse position is on my screen.

I’ve created a BP\_Crosshair Widget containing my Arrow like this:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/4/3/e43dade9806bc57267441713abe5a9f09b3ca734.png)

And currently the nodes I have don’t seem to really work well or do what I wish for it to do and I’m having a bit of trouble finding solutions online:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/4/1/941901b82a4f123b1cd6e5deaca77b392cd25262.png)

This here is my current blueprint node on the BP\_Crosshair Widget file.

Basically I want my arrow to point where my mouse is. So if my player looks left I want the arrow to be pointing left. If he looks up, then I want the arrow to point upwards and etc etc. Kind of like mordhau’s crosshair!

Any help would truly be appreciated thank you!

---

<div class="post-metadata">

**Author:** ![baobao4435](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/baobao4435/32/950790_2.png) [@baobao4435](https://forums.unrealengine.com/u/baobao4435)\
**Post date:** [February 2, 2024, 8:24pm UTC](https://forums.unrealengine.com/t/how-do-i-get-my-arrow-to-point-at-my-mouse-position-on-my-screen/1660773/2 "2024-02-02T20:24:34Z")

</div>

Hi,check this out.

> [@Make a HUD Icon Point at a target](https://forums.unrealengine.com/t/make-a-hud-icon-point-at-a-target/239678/3):
>
> Is this for a pure 2d widget? Also, the ‘bikes’ look awesome! If your arrow points up by default, the +90 should be -90 instead, most likely. fingers crossed Nicked it from here: [https://answers.unrealengine.com/questions/1008381/get-angle-between-actors.html](https://answers.unrealengine.com/questions/1008381/get-angle-between-actors.html)

I just found this. Didn’t try it,if you did it could you show the bp?

---

<div class="post-metadata">

**Author:** ![DerplingCA](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DerplingCA](https://forums.unrealengine.com/u/DerplingCA)\
**Post date:** [February 2, 2024, 8:52pm UTC](https://forums.unrealengine.com/t/how-do-i-get-my-arrow-to-point-at-my-mouse-position-on-my-screen/1660773/3 "2024-02-02T20:52:21Z")

</div>

Sure I’ll try it in a few minutes! I’ll let you know what happens. Thank you!
