Are you saying if a character is hiding, using the hide action, from an enemy behind a rock, and the enemy looks behind said rock, the enemy will not see the character hiding there?
Or if the "hidden" character moves into the enemies line of sight they won't be seen?