How to make objects follow the player?

Yes, it is from the projectile, I understand how it moves but I don’t understand how it starts following the main character if I am not giving it as the target. I don’t know if I explain myself correctly…