To handle Enhanced Input System input in other actors, the actor must be on the Input Stack.

You can add any actor into the stack via the code below. This also works for the Legacy Input System:

Note: This only works on non-Pawn actors. Pawns have different logic in Enable Input which causes this to not work.

If you use C++, you can manually create the Input Component and use PlayerController->PushInputComponent on the Player Controller (see code in AActor::EnableInput for reference) - but in C++, you can also directly bind actions onto the player controller’s input component instead of using a separate input component, which may be a better solution depending on how you want it handled.

See also