# TopDown Rotate Actor To Mouse Cursor Location

**URL:** <https://forums.unrealengine.com/t/topdown-rotate-actor-to-mouse-cursor-location/438541>\
**Category:** Community & Industry Discussion\
**Tags:** actor-rotation, topdown, unreal-engine, question\
**Created:** [November 29, 2018, 12:46pm UTC](https://forums.unrealengine.com/t/topdown-rotate-actor-to-mouse-cursor-location/438541 "2018-11-29T12:46:49Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![sevanberkay](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@sevanberkay](https://forums.unrealengine.com/u/sevanberkay)\
**Post date:** [November 29, 2018, 12:46pm UTC](https://forums.unrealengine.com/t/topdown-rotate-actor-to-mouse-cursor-location/438541/1 "2018-11-29T12:46:49Z")

</div>

Hello, Im trying to make actor look at mouse cursor position(Set Actor Rotation). Im using this code at the moment

 ![260897-rotate.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/8/f/58f8d4915083d284a57752317860b8d8d8745271.png)

But, this code doesn’t rotates to exact position.Im making it in Top-Down Template.So when my camera boom’s (y) rotation is equal to 90 degrees,it works fine,it rotates my actor to exact position. But when i change my camera boom’s  
y rotation to 60-70 less than 90 degrees.It doesn’t rotates my actor to exact rotation to mouse cursor.It rotates little lower or higher position of mouse cursor.How can i make this rotate to exact position of mouse cursor.

Thanks you. 🙂
