How do I use InputComponents?

I am unable to find this mention in any of documentation on Unreal site. How is it generally expected to get InputComponent in order to get inputs? It seems some actor handle input? What if you don’t have a actor? How does UE decided which actor gets input?

Hey

InputComponents are typically used in Pawn and Controller Blueprints. A Controller set as default for your Game Mode can contain all of your inputs and not have any Actor presence in level. You can read up on InputComponents here:

and on Player Controllers here:

and on Game Modes here:

Hope that helps!