# Mouse yaw and pitch not working?

**URL:** <https://forums.unrealengine.com/t/mouse-yaw-and-pitch-not-working/449173>\
**Category:** Cinematics & Media\
**Tags:** Input, control-rotation, unreal-engine, question\
**Created:** [May 18, 2019, 11:29am UTC](https://forums.unrealengine.com/t/mouse-yaw-and-pitch-not-working/449173 "2019-05-18T11:29:32Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jack\_W\_Lewis](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Jack\_W\_Lewis](https://forums.unrealengine.com/u/Jack_W_Lewis)\
**Post date:** [May 18, 2019, 11:29am UTC](https://forums.unrealengine.com/t/mouse-yaw-and-pitch-not-working/449173/1 "2019-05-18T11:29:32Z")

</div>

Hi,  
I’m making a simple character and have the lines of code:

PlayerInputComponent-\>BindAxis(“Turn”, this, &APawn::AddControllerYawInput);

PlayerInputComponent-\>BindAxis(“LookUp”, this, &APawn::AddControllerPitchInput);

My input names are correct and I have the camera set to use control rotation. But my camera is frozen.

In game I used the command DisplayAll PlayerController Rotation and it’s showing Y=0.0 P=0.0 R=0.0 all the time.

Also my WASD inputs work fine.

---

<div class="post-metadata">

**Author:** ![NorlinGames](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/norlingames/32/495614_2.png) [@NorlinGames](https://forums.unrealengine.com/u/NorlinGames)\
**Post date:** [May 18, 2019, 1:21pm UTC](https://forums.unrealengine.com/t/mouse-yaw-and-pitch-not-working/449173/2 "2019-05-18T13:21:37Z")

</div>

Is the axis bind working if you bind any otehr axis? For instance, a mouse wheel instead of x/y?

Also for debug purposes you can add an own method to bind, instead of using the `AddController...Input` methods. It will allow you to add a debug logs to see if it’s ever working.
