How can I make a projectile return after being fired?

I think it’s good !, just make sure that alpha’s value is between 0 and 1