# Controls invert when Char X axis goes below 0

**URL:** <https://forums.unrealengine.com/t/controls-invert-when-char-x-axis-goes-below-0/56910>\
**Category:** Blueprint\
**Tags:** unreal-engine\
**Created:** [March 1, 2016, 3:43pm UTC](https://forums.unrealengine.com/t/controls-invert-when-char-x-axis-goes-below-0/56910 "2016-03-01T15:43:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_0e3d41b3](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_0e3d41b3](https://forums.unrealengine.com/u/anonymous_user_0e3d41b3)\
**Post date:** [March 1, 2016, 3:43pm UTC](https://forums.unrealengine.com/t/controls-invert-when-char-x-axis-goes-below-0/56910/1 "2016-03-01T15:43:40Z")

</div>

I have a camera rotation system which follows the player normally. When an enemy is locked on, the camera and player focus on the enemy. The problem is that when the player X is below the Enemy X the controls invert, and Forward becomes back and left becomes right. I tried to get a branch that when the Player X is below the Enemy X the movement input becomes inverted, however it clamps when the condition is about to turn from false to true. Here are my blueprints. Does anyone have any suggestion?

> **[av47vbfi posted by anonymous | blueprintUE | PasteBin For Unreal Engine](https://blueprintue.com/blueprint/av47vbfi/)**
>
> No description provided
