/Engine/Source/Runtime/Engine/Public/Animation/AnimInstanceProxy.h
Behaves like QueryTransitionEvent but additionally marks the event for consumption
bool QueryAndMarkTransitionEvent ( int32 MachineIndex, int32 TransitionIndex, const [FName](API\Runtime\Core\UObject\FName) & EventName )