Unable to complete tutorial blend gameplay animation with sequencer

I am trying to blend gameplay with sequencer using this tutoial : Blending Gameplay and Sequencer Animation | Unreal Engine Documentation

But i don’t understand how the author uses a function to communicate with sequencer instead of the event tick or timeline. How can i communicate with sequencer using the function?