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

I think you’re bound to run into problem if you try and end the line trace outside your world. Why not trace as far as you need?