# Top Down Set Character Rotation

**URL:** <https://forums.unrealengine.com/t/top-down-set-character-rotation/1753801>\
**Category:** Blueprint\
**Tags:** Input, unreal-engine, top-down, question, Blueprint, UE503\
**Created:** [March 15, 2024, 11:48am UTC](https://forums.unrealengine.com/t/top-down-set-character-rotation/1753801 "2024-03-15T11:48:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![T4l\_R](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@T4l\_R](https://forums.unrealengine.com/u/T4l_R)\
**Post date:** [March 15, 2024, 11:48am UTC](https://forums.unrealengine.com/t/top-down-set-character-rotation/1753801/1 "2024-03-15T11:48:32Z")

</div>

Hi Guys,  
I’ve managed to set a top down character where with the left joystick I set the character’s movement (walk/run) and with the left joystick I set the character’s rotation (so he can walk one direction and look to another).  
The thing is that I added buttons to rotate the camera and the character’s rotation is not being calculated according to the camera rotation (for example, if I move the camera 90 degrees to the right, then looking up with the joystick will turn the character to the left).  
How do I calculate the joystick’s input according to the camera rotation in this case?
