conflict between my keyboards inputs and UMG buttons focus

Hi all,

i’m using my space bar input key in my game to translate camera, but when i click on a UMG button it gets the focus and the space bar presses the button again so my camera won’t translate. How to disable any keyboards inputs for my UMG buttons please ? If it’s not possible, how to allow different keys which interacts with UMG buttons ?