How to toggle matinee animation direction

Hi everyone,

I’m trying to create a simple platform that will be going from one point in space to another and then back again (possibly following quite a complex trajectory). How can I make the animation to toggle its direction each time the platform reaches either first or second point?

I was looking at the blueprint functionality and found that there’s a function Change Playback Direction, however I can’t figure out when to call that function, that is, when the animation has stopped (the platform has reached either of the points).