12 When hearing a cry, I ran out of the room and saw that a child was lying on the ground and crying. "What has happened? Why are you crying? Have you hurt yourself?" I asked.
Или так (если считать, что в начале предложения пропущено I):
When I heard a cry, I ran out of the room and saw that a child was lying on the ground and crying. "What has happened? Why are you crying? Have you hurt yourself?" I asked.
12 When hearing a cry, I ran out of the room and saw that a child was lying on the ground and crying. "What has happened? Why are you crying? Have you hurt yourself?" I asked.
Или так (если считать, что в начале предложения пропущено I):
When I heard a cry, I ran out of the room and saw that a child was lying on the ground and crying. "What has happened? Why are you crying? Have you hurt yourself?" I asked.