# How to rotate pawn using mouse in #UE4

**URL:** <https://forums.unrealengine.com/t/how-to-rotate-pawn-using-mouse-in-ue4/631567>\
**Category:** Blueprint\
**Tags:** unreal-engine, UE4, Blueprint, question\
**Created:** [August 19, 2022, 7:03am UTC](https://forums.unrealengine.com/t/how-to-rotate-pawn-using-mouse-in-ue4/631567 "2022-08-19T07:03:07Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![SupportiveEntity](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SupportiveEntity](https://forums.unrealengine.com/u/SupportiveEntity)\
**Post date:** [August 19, 2022, 7:14am UTC](https://forums.unrealengine.com/t/how-to-rotate-pawn-using-mouse-in-ue4/631567/2 "2022-08-19T07:14:35Z")

</div>

Hey there @anonymous_user_dd7783e2! Welcome to the community! So it’ll vary pretty wildly depening on what type of character you have. If you’re working with a 3rd person or top down character, these 2 posts should get you started!

The blueprint:

> [@How to allow a 3rd person character to face where the mouse is aiming](https://forums.unrealengine.com/t/how-to-allow-a-3rd-person-character-to-face-where-the-mouse-is-aiming/277885/3):
>
> Simply put your character as the Target for “Get Actor Location” and “Set Actor Rotation” and it will look at wherever your mouse is! I tested this as well to make sure it works. If you don’t want debug lines to draw, then change the “Draw Debug Type” under “Single Line Trace for Objects” to “None”. As well, this Blueprint will only look at Static geometry (BSP brushes, etc.), so you may want to add more types to the “Make Array” node. Just click “Add pin” and select all o…

Helpful adjustment in the comments:

> [@How to allow a 3rd person character to face where the mouse is aiming](https://forums.unrealengine.com/t/how-to-allow-a-3rd-person-character-to-face-where-the-mouse-is-aiming/277885/6):
>
> Thanks so much! BUT… with my top down shooter game (WASD to move north, south, east, west) I needed the player to always face where the mouse was. This blueprint Parralex provided was a great solution! I had to add one more thing… a Break Rot and a Make Rot. This is because with the character would become inverted when mousing over tall objects. SOOOOO, Here is what I did to fix this! Hope it helps someone!

If that’s not what you’re looking for, let me know!

---

_[View the full topic](https://forums.unrealengine.com/t/how-to-rotate-pawn-using-mouse-in-ue4/631567)._
