No announcement yet.

UMG Spacebar, Enter & Face Button Down all execute "On Pressed"

  • Filter
  • Time
  • Show
Clear All
new posts

    UMG Spacebar, Enter & Face Button Down all execute "On Pressed"

    I'm having some strange behavior with the UMG and On Pressed execution of buttons via the Keyboard and Gamepad (Mouse is not being used). It seems that the Space-bar, Enter key and the game-pad Face Button Down all execute "On Pressed" of any focused button widgets although it appears that none of these keys are bound or in anyway connected to my project Input Action settings. I have tried using Set Input Mode to Game,UI and Game & UI, and they behave just the same.

    Tab moves the keyboard focus to the next available focus-able item (left to right) and depending on the UMG setup can move the focus away from the current visible menu/UI, effectively leaving you locked in the menu.

    I have also found that all of the keys/buttons listed above do not register as "In Key Events" through the OnKeyDown Override.

    I do not want these keys to execute "On Pressed" EVER unless the player has deliberately bound them in the Input settings, but I cannot seem to find any information on why these keys are behaving this way. Does anyone know how I might disable these?


    This is by design. if you don't want a button or element to be focusable with Tab then edit the "Is Focusable" property of that button or element to false.

    If you generally hate the focusing mechanics at all you can also disable them in the "project settings" --> "Engine" --> "User Interface". Just set the focus property to never.
    My Patreon page (UE4 goodies!)