# Calling Get\[AxisName\] in blueprint breaks existing axis bindings

**URL:** <https://forums.unrealengine.com/t/calling-get-axisname-in-blueprint-breaks-existing-axis-bindings/371320>\
**Category:** Blueprint\
**Tags:** fyi, unreal-engine, Blueprint, CPP, question\
**Created:** [September 22, 2016, 7:03pm UTC](https://forums.unrealengine.com/t/calling-get-axisname-in-blueprint-breaks-existing-axis-bindings/371320 "2016-09-22T19:03:26Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Answers.Archive](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Answers.Archive](https://forums.unrealengine.com/u/Answers.Archive)\
**Post date:** [September 22, 2016, 7:03pm UTC](https://forums.unrealengine.com/t/calling-get-axisname-in-blueprint-breaks-existing-axis-bindings/371320/1 "2016-09-22T19:03:26Z")

</div>

We have our character setup to handle input in our C++ character class using InputComponent-\>BindAxis. While working on a new feature in blueprint, I added a call to GetMoveRight (MoveRight being the name of the input axis). Doing so breaks the binding in the C++ class, making it so we no longer move.

This seems like a bug to me. If it is, do you have a workaround? If it’s not, can you please provide me with the correct solution for getting the current value of an input axis from within a blueprint function?

Thanks for the help.

---

<div class="post-metadata">

**Author:** ![Answers.Archive](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Answers.Archive](https://forums.unrealengine.com/u/Answers.Archive)\
**Post date:** [September 22, 2016, 7:03pm UTC](https://forums.unrealengine.com/t/calling-get-axisname-in-blueprint-breaks-existing-axis-bindings/371320/2 "2016-09-22T19:03:27Z")

</div>

Hey Dan,

I’ve entered a bug for the input being consumed when calling the Get[AxisMapping] node in blueprints which can be viewed here: [Unreal Engine Issues and Bug Tracker (UE-34812)](https://issues.unrealengine.com/issue/UE-34812)

As a workaround, I was able to create a public float variable in code that, at the beginning of my bound function, would set the variable to the value being passed into the function. I was then able to reference this variable rather than the Get node for the axis.

Cheers

Doug Wilson

---

<div class="post-metadata">

**Author:** ![Answers.Archive](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Answers.Archive](https://forums.unrealengine.com/u/Answers.Archive)\
**Post date:** [September 22, 2016, 7:03pm UTC](https://forums.unrealengine.com/t/calling-get-axisname-in-blueprint-breaks-existing-axis-bindings/371320/3 "2016-09-22T19:03:28Z")

</div>

Thanks, Doug. I was able to find a workaround in a similar fashion, the only difference is that I’m listening to the Axis Event and saving the value there. I appreciate the response.
