UAnimationBlueprintLibrary::SetRootMotionEnabled

Sets whether or not Root Motion is Enabled for the given Animation Sequence