# How can I make an actor point towards the cursor?

**URL:** <https://forums.unrealengine.com/t/how-can-i-make-an-actor-point-towards-the-cursor/1197555>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine, question, Blueprint\
**Created:** [June 13, 2023, 2:48am UTC](https://forums.unrealengine.com/t/how-can-i-make-an-actor-point-towards-the-cursor/1197555 "2023-06-13T02:48:32Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![seadragon755](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@seadragon755](https://forums.unrealengine.com/u/seadragon755)\
**Post date:** [June 13, 2023, 2:48am UTC](https://forums.unrealengine.com/t/how-can-i-make-an-actor-point-towards-the-cursor/1197555/1 "2023-06-13T02:48:32Z")

</div>

so I want the tip gun to point towards the mouse in a side Scroller game I am making. How would I do this? this is my best attempt so far but it does not quite work

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

---

<div class="post-metadata">

**Author:** ![Mind-Brain](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/mind-brain/32/906573_2.png) [@Mind-Brain](https://forums.unrealengine.com/u/Mind-Brain)\
**Post date:** [June 13, 2023, 2:59am UTC](https://forums.unrealengine.com/t/how-can-i-make-an-actor-point-towards-the-cursor/1197555/2 "2023-06-13T02:59:52Z")

</div>

Hey @seadragon755! Welcome to the forums!

Why don’t you give what this person did a try? 🙂

> [@2D Side Scroller aim weapon at mouse cursor](https://forums.unrealengine.com/t/2d-side-scroller-aim-weapon-at-mouse-cursor/462122):
>
> Hi, I am trying to get my character’s gun to aim towards the position of my mouse. Here is the blueprint I am using; This works to an extent as the mouse is tracked on one side of the screen, but not on the other. (Red circle is mouse location) Thanks in advance for any help!

---

<div class="post-metadata">

**Author:** ![seadragon755](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@seadragon755](https://forums.unrealengine.com/u/seadragon755)\
**Post date:** [June 13, 2023, 12:44pm UTC](https://forums.unrealengine.com/t/how-can-i-make-an-actor-point-towards-the-cursor/1197555/3 "2023-06-13T12:44:19Z")

</div>

thank you

---

<div class="post-metadata">

**Author:** ![system](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/1/3/713c9d3f58553f0de89543d76a8a3a2779dc9fa4.png) [@system](https://forums.unrealengine.com/u/system)\
**Post date:** [July 13, 2023, 12:44pm UTC](https://forums.unrealengine.com/t/how-can-i-make-an-actor-point-towards-the-cursor/1197555/4 "2023-07-13T12:44:22Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
