on seeing him/it
Qu'avez-vous ressenti en le voyant, Clarice ?
What did you feel when you saw him, Clarice?
Sur la rivière, je pensais qu'en le voyant je saurais quoi faire.
On the river, I thought that seeing him would tell me what to do.
— Apocalypse Now (1979)
En le voyant, j'ai pensé à toi.
When I saw him, I thought of you.