Parsing 学校を休んで遊んでいるところを友達のお母さんに見られた。


I don't understand the following sentence from my textbook:

> 学校を休んで遊んでいるところを友達のお母さんに見られた。

I think this sentence means

> Mom saw us while we were playing hooky from school.

I don't understand why を is used after ところ instead of に, で, or が. I think を
marks the direct object, 学校を休んで遊んでいるところ, of 見られた. I don't understand why the
passive verb 見られた would have a direct objet.

  * What does this sentence mean?
  * Why is ところ followed by を, and what is its meaning?
  * If を marks the direct object of 見られた, why does it have a direct object?




It would be translated as "I was seen by my friend's mother to be playing
hooky from school".

This ところ means "scene". You can remember this sentence "I was seen to break
the window" and it is translated 私は窓を割るのを見られた. It can be rephrased as
私は窓を割るところを見られた.

