How can shoot my projectile in the opposite direction in a 2d game?

Thank you!