Shooting in both directions 2D

Can someone explain to me how to make it so that a character’s shooting direction is both ways?

I have a projectile in the game as a player skill, but it can only shoot to the right, if I turn the character so that he looks to the left the projectile still flies to the right.

I used a simple Spawn Actor and a simple determination of the player’s location

You’d need to show us how do you fire the projectile. How do you determine which direction it’s thrown at?

Regardless, you should be able to achieve that by simply getting the player character’s forward vector and throw it to that direction.

Like i said, simple actor spawn.
In this actor i have only damage other actors

Okay but how do you handle the shooting part?

There can be multiple ways to achieve that, but all would require a rotation or a direction for the projectile to move towards. I think you already have that set up based on this explanation of yours:

So whatever way you handle that, you should be able to change the direction it’ll be shot at like this:

In projectile i have Projectile movement component

I think I know what’s going on, now knowing your approach.

What’s “Projectile Shoot”? It should be an arrow component. That way your projectiles will already shoot at the direction where the player character’s facing. Can you show the Components window of your player character BP? Or wherever you set that variable, if it doesn’t represent a component.

If it is indeed an arrow component, does it rotate as expected? You can check by disabling the Hidden in Game option on the Details window while having the arrow component selected.