Help needed with melee block mechanic

Hi, i’m working on a MP game and i’m trying add to my player a blocking animation.

I have already purchase a package from the marketplace with melee animations, but i need to make my player to press a key and play the animation and keep the block animation in the last frame while the player has the block key pressed and when the player release the block key i need to blend out the animation.

What i have already done is to play the block animation and blend out when the animation is finished and also tried to uncheck blend out in the anim montage, this keep the animation in the last frame but i don’t know how to resume/blend out the animation when the player release the block key.

Any ideas on how to achieve this behavior with UE5?

Thanks in advance for all the help

Are you using sections for your montage?

For hold and release actions, typically the animation would be chopped up into 3 parts, played in order in a single montage, with the middle section set to loop.

On pressing block, you’d play the montage like normal. When button is released, you’d use a Montage Jump to Section node so skip to the end.

1 Like

Thank you for the reply @illspiritx i will give it a try.