Set Beam End to Collision position?

Hi,
I would like to set up the beam end to be updated to the collision position when it happens. I am doing this for UEFN so I can’t really use user variables.

How should I do to make the beam not pierce through a mesh then?
I have managed to spawn sprites at the collision point but I can’t seem to figure out to update the beam end from within.

Thanks a lot in advance!