Extend Niagara along line trace

Hello,

how can I extend/spawn niagara laser I have made along linetrace function (it is made to bounce from surface on specific trace channel, mirrors basicaly).

Whole function beggins with tick and normal trace to get start possition and then it is parsed into LaserRicochet function

I have exposed Beam Start and Beam End in Niagara emitter (it is converted to niagara system).

How can I do this?

Small side question: why did it breaks when I add output node into LaserRicochet function? Does it waits on something or why it doesn´t move to next index in for loop?

Thanks for helping.