Low Obstacles And Cover
A low obstacle (i.e., a wall half your height) provides cover, but only to creatures within 30 feet (six squares). The attacker ignores the cover if he’s closer to the obstacle than his target is.
Source
Core Rulebook pg. 234