Line trace duration

Hi there o/.

So in my game (c++), i got a weapon that shoots with “lineTracin” pretty sure u know what i mean with that.

And i use color to be able to see the line tracing , and i was wondering if it is possible to erase the line in a short period of time ?

as if it was an effect for testing only

Closed, becaues of duplication: