Input Component can be used to Listen for an Input whether it be an Axis or an Action. You can simply bind your function to a specific Input:

ABlogCharacter.h

Amir Ansari

Engine | Gameplay Programmer & Live Ops

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store