I'm super new to godot and programing in general. so Im struggling with making my enemies. I got the player to shoot just fine, but now I am stuck. The game is an auto runner platformer, so the player is running to the right, and the enemies are facing left. I am using one bullet instance for both player and enemy so when It does fire it travels right and ends up killing itself. What I want to happen is for it to fire to the left in a straight line when the player is close enough.
heres my code for the enemy:
and the bullet code in case thats also being a little ankle bitter: