Play Anim Montage while holding input

Looks like this question was already done but other fellows.
But Ive read a lot in the forum, answer hub and google and found nothing.

This is my situation:

  1. The char Blueprint holds the isAceno bolean variable. When the user holds G the var is true

  1. The animation Blueprint gets the isAceno value and play the Animation Montage.

  1. The animation Montage is a loop

  1. What I get is this: while holding ´´G´ the isAceno is true, but the animation plays just the start and STOP

  1. When i release ´´ G´ ´the animation plays until reaches the end

Looks like when Im holding the input, the animation is like stuck in one frame… and dont know for sure.

What I need to achive is the animation montage playing in loop from start to and as long as I hold the input.
Cant figure out why its not happening.

PS. dont worry about the ´áttempting to autoconnect´ ´thing on the images. its another thing that im sure its not driving the animation issue.

Almost 1 month since the question.
Searched a lot and yet didnt find the solution.

Try this.

Thanks for the reply.
I tried that before. But now i tried again with the exact same setup as yours.

The branch node is hooked to event tick.
I hold the input, the variable is true, but the anim montage plays until the end and stops.

1 Like

Put this in your anim blueprint, connected to the “Event Blueprint Update Animation” not to the Event Tick.
Can I see a screenshot of your anim montage where it show the tracks in “Sections”, like in your third screenshot but scrolled down

Same behavior when the logic is inside the anim blueprint.
The isAceno boolean comes from the input. I checked and it stays true as long the input is held. But the animation plays one time and stops.

And the montage screen:

Ok, so your montage is not set to loop. Click one more time here:

The “Default” in your track should be blue with a “X” next to it, meaning it will loop.
Your blueprint is good so it will be ok after you set the loop in the montage.

It worked.
I didnt know about this ´´x´´ thing…

Thanks. Helped a lot!