Just watch. The towers aim for the enemy that is farthest along. Tell me of any glitches.
https://scratch.mit.edu/projects/227016661/ for point towards X Y