をあちこち歩いた

walked around

→ を
phrase Rare #44,421
walked around あちこち means “here and there” or “all over”; を marks the place being walked around.
JA: 公園をあちこち歩いた。
EN: I walked around the park.

彼は部屋の中をあちこち歩いた。

He walked back and forth around the room.

私はその通りをあちこち歩いた。

I walked around that street.

彼は部屋をあちこち歩いた。

He paced around the room.