Get Montage Section duration

Hi, I’m trying to get the time duration of specifics section in a montage from the Animation Blueprint.
I can get the full montage duration by Playing it, but I need the information from each section.
Thank you

I don’t believe it’s possible in blueprints. In C++ you just use this function:

float GetSectionLength(int32 SectionIndex) const;

Thank you! Will use that from code.

Sounds pretty good, but since i’m quite new to C++, can you describe a little bit more the steps around that ? I’m not getting anywhere.

For anyone in the future, there’s a video tutorial for this:

Now In UE5 you can use Contextual Animation Plugin :smiley: