Here's how:

Place this in your actor's tick

Code:
    if (SkeletalMeshComp->IsPlayingRootMotion())
    {
...