Line trace from actor location to mouse cursor and infinity on side scroller project

I’m trying to shoot a bullet from my actor to the mouse cursor position, but the bullet should continue his route, not stoping at the mouse cursor location.

BTW, the side scroller project it’s a 3D world.