thanks for the discussion.
didnt find a working solution yet. i want the enemies also to view at the player only (angle) when there is no object of a specific family (BlockedObjects) between them. that makes it a bit harder to create the event group "sightCheck".
currently, i spawn invisible bullets for each enemy every 0.1 seconds, and set the angle of the bullet manually towards the player.
then i set the angle of the enemy towards the player, only when he is hit by the invisible bullets spawned by the specific enemy.
anyway, this does only work when the player is overlapping an enemy. no idea why.
the invisible bullets are destroyed on BlockedObjects and outside screen. i cant recognize a real performance decrease.
do you have an idea how to solute this, maybe a capx?