Fire a bullet towards multiple instances

hi I have a player auto fire 1 bullet towards the enemy position but the problem is I can’t get the bullet to fire only at the nearest enemy facing the player?

example bullet fires behind the player when it should only target the nearest facing enemy to the player
forest tengai

fire bullet event

Hi Shadow_Assassin, is the player always moving left to right? If so then can you have a condition like
enemy x is more than player x
and then the action
—> fire bullet

1 Like

thanks I think that did it :open_mouth:

working event

1 Like