Bind Event on any input pressed

Is it possible, in blueprint, to bind an event when the Player press ANY input, and from this event, get the value of the input pressed ?

image

Bind in what way? You could follow up with a dispatcher, pipe in Key and have any other entity listen to a call. Would that work?

1 Like

It could probably work for the keyboard, but is there an equivalent for gamepad?

It’s Any Key. Mice, keyboards, gamepads, touchscreens, joysticks, peculiar VR controllers…

ah true, thx, its a step in the right direction for sure, now I need to get the key from my Input action and compare, but I appreciate the help thx

Consider building a map of key | whatever else needs to happen - unless you’re comparing like 3 things only.


Also, this is a somewhat unorthodox request and I have a nagging feeling you might be approaching it from a strange angle. Hard to advise without knowing more, though.

It does work when I click on my 3d meshes in viewport, however it does NOT work when I click on a button in my menus (UMG).

Buttons have their own onClick delegates.