Controls Problem

I have asked this question in many places here and in the comments section of YouTube channels that provide tutorials for Unreal Engine, but I did not get an answer, when I press the S button, the character is supposed to jump one step back, this is the animation that I have, but the problem is that I have to keep holding the S key in order for the animation to complete, And I don’t want it like this, I want it to be just by press and release like the jump button. how to do that?

Can I ask you to provide a screenshot of your Blueprints/Code? It´s a bit hard to assist when I don´t know what is already in place.
Perhaps this video can also help you.

I’m using the default blueprint that came with the mannequin