How to make a line trace swing between its hit point and starting point every frame?

(topic deleted by author)