# Mouse sensivity problem

**URL:** <https://forums.unrealengine.com/t/mouse-sensivity-problem/921279>\
**Category:** C++\
**Tags:** unreal-engine, editor, CPP, question, Blueprint\
**Created:** [April 13, 2023, 2:52pm UTC](https://forums.unrealengine.com/t/mouse-sensivity-problem/921279 "2023-04-13T14:52:30Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Displaynonamee](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Displaynonamee](https://forums.unrealengine.com/u/Displaynonamee)\
**Post date:** [April 13, 2023, 2:52pm UTC](https://forums.unrealengine.com/t/mouse-sensivity-problem/921279/1 "2023-04-13T14:52:30Z")

</div>

Hi! i created character with cpp, and enhanced input system, and when i move mouse by X/Y vectors my camera turning so fast, it’s not problem in code or mappings.

---

<div class="post-metadata">

**Author:** ![Jnat](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jnat/32/927460_2.png) [@Jnat](https://forums.unrealengine.com/u/Jnat)\
**Post date:** [April 13, 2023, 3:02pm UTC](https://forums.unrealengine.com/t/mouse-sensivity-problem/921279/2 "2023-04-13T15:02:39Z")

</div>

hi @Displaynonamee  
please show us some of your code regarding the add yaw/pitch input. Also, how is your control rotation used in your code ? on a spring arm ? camera ? is the character First or third person ?  
We need more information in order to help you.

---

<div class="post-metadata">

**Author:** ![Displaynonamee](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Displaynonamee](https://forums.unrealengine.com/u/Displaynonamee)\
**Post date:** [April 13, 2023, 3:18pm UTC](https://forums.unrealengine.com/t/mouse-sensivity-problem/921279/3 "2023-04-13T15:18:25Z")

</div>

I use two camera for first and third person, third person camera attached to spring arm, and first person camera which attached to character mesh. this bug on both cameras.  
Part of code:

 ![devenv_vy8ECO89R0](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/e/8/ee82f0a3ec21729e2052de0d3efeb016d43a993e.png)  
TPCamera - third person camera  
FPCamera - first person camera  
That look function:  
 ![devenv_T0H31RXFS0](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/4/7/c4770c2eb755ccf0eb37a64a8ce3ce18dec27ac7.png)

---

<div class="post-metadata">

**Author:** ![Jnat](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jnat/32/927460_2.png) [@Jnat](https://forums.unrealengine.com/u/Jnat)\
**Post date:** [April 13, 2023, 3:27pm UTC](https://forums.unrealengine.com/t/mouse-sensivity-problem/921279/4 "2023-04-13T15:27:41Z")

</div>

Maybe your character should’nt use the use controller rotation pitch/yaw since your camera is doing it already. It’s already set to orienttowards movement also so it will already face the direction of the movement.  
Depending on what you are trying to achieve you should check your orientation flags again.

---

<div class="post-metadata">

**Author:** ![Displaynonamee](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Displaynonamee](https://forums.unrealengine.com/u/Displaynonamee)\
**Post date:** [April 13, 2023, 3:44pm UTC](https://forums.unrealengine.com/t/mouse-sensivity-problem/921279/5 "2023-04-13T15:44:23Z")

</div>

omg, i find problem, i don’t know why but my input action was doesn’t saved, problem is value type i set 2d vector from bool and click save but editor doesn’t save file. So solution is set 2DVector for value type Thank you!
