So there is no better way to make multiple flashlights follow multiple enemies other than creating multiple enemies and multiple flashlights?
Develop games in your browser. Powerful, performant & highly capable.
For my game, I have flashlights following the enemies around. The problem is that every once and a while, one of the flashlights that an enemy has, disappears for a second then reappears.