The Alarm spell in DnD 5e specifies:
Choose a door, a window, or an area within range that is no larger than a 20-foot cube. Until the spell ends, an alarm alerts you whenever a tiny or larger creature touches or enters the warded area.
It does not specify that the caster should be able to see the target area (unlike many AOE spells).
Does this mean that it works through walls and doors to cover any 20'x20'x20' area I choose in range, irrespective of the structures within that area?