Hit or be hit?

Have you set “Enable input” from the player controller, (if the action button is creating an event on the player character).
Or use a “cast to” node to the character, (if the action button is creating an event on the player controller).