so the issue I had was the enemyA go left even though it was at the left of the player because enemyB was at the right and enemyB's location was also moving enemyA how do i fix this?
Develop games in your browser. Powerful, performant & highly capable.