along a wall; hugging the wall
Describes moving or being positioned close to a wall, often with the implication of using the wall for support or concealment.
彼は壁伝いに歩いて、暗い廊下を進んだ。
He walked along the wall, making his way down the dark hallway.
During an earthquake, please move along the wall to a safe place.
Compound of 壁 (wall) + 伝い (going along), from the verb 伝う (to go along).