Line trace would be the answer
If you can trace from the player to the enemy, then draw them, otherwise not
In fact, now I’m thinking about it, it would make more sense to trace from the enemies to the player. If they can’t see the player, they make themselves ‘hidden in game’.