# UMG: GetKey missing in OnAnalogValueChanged

**URL:** <https://forums.unrealengine.com/t/umg-getkey-missing-in-onanalogvaluechanged/336998>\
**Category:** UI\
**Tags:** UE4-8, UE4-9, unreal-engine, Widget, question, UMG\
**Created:** [October 30, 2015, 8:21pm UTC](https://forums.unrealengine.com/t/umg-getkey-missing-in-onanalogvaluechanged/336998 "2015-10-30T20:21:32Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Artax](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Artax](https://forums.unrealengine.com/u/Artax)\
**Post date:** [October 30, 2015, 8:21pm UTC](https://forums.unrealengine.com/t/umg-getkey-missing-in-onanalogvaluechanged/336998/1 "2015-10-30T20:21:32Z")

</div>

Hi Epic Team,

I’d like to report what seems to me like an issue, but might also be some design decision I wasn’t able to look through yet.

I have a UMG widget which is controllable by gamepad. For this, I need the OnAnalogValueChanged function. I used the GetKey node as well (which I dragged out of the InAnalogInputEvent) to check which analog stick was used.

When I created the widget, I worked on 4.8. Since I switched to 4.9, however, the GetKey node is gone. This is a problem, as I have no idea how to check on the used analog stick now and the widget is part of a marketplace submission which has already been scheduled for release by your team.

Could you help me out here with some information? Is this a bug, or maybe the GetKey node can be found somewhere else now?

You can easily reproduce my issue by creating a new widget in any blank project and comparing the OnAnalogValueChanged functions of 4.8 and 4.9.

Thanks in advance!

Cheers,  
Jonas

 ![64932-getkeyerror.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/0/9/0099e245d184ffa482c38c7f96432aa4c85402f4.png)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_e729f54e](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_e729f54e](https://forums.unrealengine.com/u/anonymous_user_e729f54e)\
**Post date:** [November 2, 2015, 4:36pm UTC](https://forums.unrealengine.com/t/umg-getkey-missing-in-onanalogvaluechanged/336998/2 "2015-11-02T16:36:17Z")

</div>

Hello ,

I was able to reproduce this issue on our end. I have written up a report (UE-22849) and I have submitted it to the developers for further consideration. I will provide updates with any pertinent information as it becomes available. Thank you for your time and information.

Make it a great day

---

<div class="post-metadata">

**Author:** ![Artax](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Artax](https://forums.unrealengine.com/u/Artax)\
**Post date:** [November 2, 2015, 5:25pm UTC](https://forums.unrealengine.com/t/umg-getkey-missing-in-onanalogvaluechanged/336998/3 "2015-11-02T17:25:41Z")

</div>

Thanks, Rudy!

Do you, by any chance, have a workaround for me? On how to get the information which analog stick is pressed at the moment?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_e729f54e](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_e729f54e](https://forums.unrealengine.com/u/anonymous_user_e729f54e)\
**Post date:** [November 2, 2015, 5:30pm UTC](https://forums.unrealengine.com/t/umg-getkey-missing-in-onanalogvaluechanged/336998/4 "2015-11-02T17:30:09Z")

</div>

Hello ,

You could use the On Key Down override to find out with analog stick is being used. You could then use the value that is given in the On analog value changed to do what you need in the on key down override.

---

<div class="post-metadata">

**Author:** ![DryreL](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/dryrel/32/1042339_2.png) [@DryreL](https://forums.unrealengine.com/u/DryreL)\
**Post date:** [September 30, 2024, 6:37pm UTC](https://forums.unrealengine.com/t/umg-getkey-missing-in-onanalogvaluechanged/336998/5 "2024-09-30T18:37:11Z")

</div>

Hello,

You can use **“Get Key Event from Analog Input Event”** :

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/5/8/c58778084dcab35c2109015bce9a76a88f94a7e3.png)

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/b/3/5b323ad82ecfc73ede9813c147e0f7686f2c7c74.png)
