Why is this my Input-Event not firing?

Why is this code not working?


The blueprint class is a pawn.
I even ran it in a fresh thrid-person template without any extra code…
Thanks in advantage

Hi,

Have you set that pawn as the player pawn for your project?

Thanks for your answer! Do I need to do that to also control this pawn?
Because the pawn isn’t the player, it’s an object which the player can interact with…

Oh, ok - no that’s just for the player pawn - but all your input events should be in that rather than other pawns…

Okay, I’ll try to do it this way; thank you. But is there a reason why this code isn’t working? Just curious

Yes the reason it’s not working is that those events only fire in your player pawn (or a pawn you have possessed).

1 Like