Sniper aiming while jumping

I am creating a “One Shot” game on UEFN,
I can’t use the sniper’s sight to hit the target while jumping in low gravity.
Can you please tell me how to implement this?