# Add movement to topdown Camera with mouse location

**URL:** <https://forums.unrealengine.com/t/add-movement-to-topdown-camera-with-mouse-location/467785>\
**Category:** Community & Industry Discussion\
**Tags:** mouse-cursor, topdown, unreal-engine, question\
**Created:** [July 7, 2020, 10:10am UTC](https://forums.unrealengine.com/t/add-movement-to-topdown-camera-with-mouse-location/467785 "2020-07-07T10:10:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Boscox](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/boscox/32/487719_2.png) [@Boscox](https://forums.unrealengine.com/u/Boscox)\
**Post date:** [July 7, 2020, 10:10am UTC](https://forums.unrealengine.com/t/add-movement-to-topdown-camera-with-mouse-location/467785/1 "2020-07-07T10:10:48Z")

</div>

Already have a spring arm with a fixed topdown Camera and an actor rotated by mouse location and wanted this spring arm slight move to the Cursor when pressing a button…

Aflter several other tries finally tried setting the world location of the spring arm and I’m getting there but I don’t know how to properly set this slight move in order to keep the camera direction along with the actor rotation (cursor position/aiming), any ideas? Will be much apreciated

---

<div class="post-metadata">

**Author:** ![Boscox](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/boscox/32/487719_2.png) [@Boscox](https://forums.unrealengine.com/u/Boscox)\
**Post date:** [July 7, 2020, 10:38am UTC](https://forums.unrealengine.com/t/add-movement-to-topdown-camera-with-mouse-location/467785/2 "2020-07-07T10:38:47Z")

</div>

Okay… Finally realized that this was easy enough _face palm_…

Using Relative Location and adding a value to X was enough to doit properly ! As the camera is tied to the actor pawn and this one is rotated by mouse location, only moving the spring arm a bit forward did the trick…

Needed to post this to be aware of it just to then realize that it’s been too many hours and needed a break :3
