is it the z that decides the direction? what would looking in be in czech?
Yes. If somebody was looking from outside to inside, you'd say "Někdo se díval do okna sestřiny ložnice."