Extending static mesh

I have been working on a making a fighting game with similar aspect to dragon ball z and one piece.
Right now I’m trying to make a kamehameha style attack. So far I have achieved this through having a static mesh cylinder become visible and turning on collision with a button press. (This I doubt is the best way)

Don’t get me wrong, it works, it looks pretty bad right now as its hardly been completed, the issue I have is how can I cut the static mesh where it collides, because at the moment it goes through other objects such as a wall or player instead of stopping there (I was expecting this). So is there a way to just make a static mesh “Extend” or procedurally generate until it hits a wall? Here’s my Blueprint if it helps