Line of sight
Line of sight (or LoS) refers to the character's ability to clearly see a particular spot in the context of ranged and ground-targeted skills' application. Many skills can only be used successfully if their targeted area, enemy, or ally is within a player's line of sight. For example, all projectile skills require line of sight and become obstructed if there is terrain between the missile and its target. If a projectile was obstructed, it has no effect on its target, just like if the character had missed.
While in combat, hostile NPCs will always attempt to maintain line of sight with enemies. Players can use this mechanic to their advantage by forcing ranged foes, who are normally difficult to position without knockbacks or pulls, into melee range. Note that if a hostile NPC can't pathfind their attacks due to the surroundings, and can't successfully land a hit, they'll become invulnerable. To fix this get out of their aggro area for some time, or simply die, and this behavior should be reset.