How to make objects follow the player?

This is the code from the projectile, right? So each projectile is setting it’s own position, it’s self. Hence, the ‘self’ everywhere…