How can i get exactly location during playing animation

Hi
I have a problem with ADS(Aim Down Sight) system in my game.
Since there is no ADS animation, so i implemented it in code.
It works fine, but the position ADS becomes incorrect when the moves or jump.

Mesh->bPauseAnims = true;

FTransform SightTransform = Weapon->GetSightSocketTransform();
/*
    this is GetSightSocketTransform Function.
    FTransform AWeapon::GetSightSocketTransform()
    {
        //fix Location and rotation.
        SetActorRelativeTransform(DataAsset->MeshAttachTransform);

        FTransform ReturnTransform;
        ReturnTransform = Mesh->GetSocketTransform(SightSocketName, ERelativeTransformSpace::RTS_World);
        return ReturnTransform;
}
*/
FTransform FPMeshWorld = Mesh->GetComponentTransform();

if (Weapon->DataAsset->ADSAnimMontage)
{
	AnimInstance->Montage_Play(Weapon->DataAsset->ADSAnimMontage, 1.f, EMontagePlayReturnType::MontageLength, 0.f, true);
	AnimInstance->Montage_JumpToSection(FName("Default"));
}

FTransform Offset = FPMeshWorld.GetRelativeTransform(SightTransform);
FPMesh->SetRelativeTransform(Offset);

if i set bPauseAnim to true during ADS, the position of ADS is correct,
but using bPauseAnim makes it look awkward because the character stops Animation entirely, so it’s not a suitable solution.

Therefore, I use Montage_Play function on the Mesh to play a non-moving anim and
turned off the blend using Montage_JumpToSection function, so that the animation plays immediately without blending.
(if not using JumpToSection, it will blending before animation)

this work fine when character is not moving,
but also the position of ADS becomes incorrect when move or jump…

Do i need to do additional work for the moving or jumping animations?
Is there solution? please let me know how to resolve this issue. thankyou…

for reference, I created the moving animation using BlendSpace, and connected it to the AnimGraph in AnimBlueprint.
The jump animation is also connected to the AnimGraph is the same way.


picture.



ADS is works fine. when NOT moving.

but,

Position of ADS incorrect when the character moves or jump…