# Top Down Mouse click & drag to Pan - keep sensitivity consistent when zooming in or out

**URL:** <https://forums.unrealengine.com/t/top-down-mouse-click-drag-to-pan-keep-sensitivity-consistent-when-zooming-in-or-out/490644>\
**Category:** Cinematics & Media\
**Tags:** drag, unreal-engine, mouse-click, question\
**Created:** [November 6, 2021, 1:24am UTC](https://forums.unrealengine.com/t/top-down-mouse-click-drag-to-pan-keep-sensitivity-consistent-when-zooming-in-or-out/490644 "2021-11-06T01:24:31Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![DokuSouSei](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DokuSouSei](https://forums.unrealengine.com/u/DokuSouSei)\
**Post date:** [November 6, 2021, 1:24am UTC](https://forums.unrealengine.com/t/top-down-mouse-click-drag-to-pan-keep-sensitivity-consistent-when-zooming-in-or-out/490644/1 "2021-11-06T01:24:31Z")

</div>

I have click and drag mouse panning however I want to have it work similar to the UE blueprints interface.  
This demonstrates what I have and what I want to achieve: [Top Down: Click and Drag Mouse Panning Issue - YouTube](https://youtu.be/rMUNx4Hu9Jk)

This is currently the code I have at the moment:

 ![351721-screenshot-2021-11-06-114555.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/a/0/6a01f45a98cd4759d6b844ab36b42a1eca93f4d8.png)

 ![351722-screenshot-2021-11-06-114619.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/2/5/c255779b07ba7961e24cc1006e4caad5e5a5cd22.png)

Any help would be super appreciated!
