A は B の目の前を素通りした。
Which is the agent(= subject) of 素通りした in the sentence above, A or B?
the meaning of 目の前
めのまえ【目の前】
I 〔眼前〕
目の前で
in a person's presence/under a person's nose
人を目の前でけなす
abuse a person to his face
目の前で戸がぴしゃりと閉まった
The door was slammed in my face.
目の前の箱を開けなさい
Open the box in front of you.
In my original post I asked if he was was ignoring the pet and you said that was not the case, and in your last reply you used the word ignore. Im a bit confused
The passive of adversity(also called "adversative passive") expresses that the subject of the passive form is adversely affected by the action/event. Passive voice - Wikipedia, the free encyclopedia
active
ハムスターが目の前を素通りした。 The hamster went past the face of me (without looking at me/with ignoring me).
passive of adversity
僕はハムスターに目の前を素通りされた。 I was adversely affected by the hamster going past the face of me (without looking at me/with ignoring me).