OAK CREEK, Wis. — Amanat Singh was dancing in front of the Sikh temple here on Sunday morning, cracking up her 11-year-old brother, Abhay.
Amanat had just turned 9, and her family was responsible for preparing a birthday lunch for 300 people. The children’s parents had told the pair to stay inside the temple while they went to a store to get more paper plates.
But the temple was hot, with samosas frying and chapatis on the grill. So the children stepped outside to catch the breeze. That was when they saw the man get out of the car.
As Amanat and Abhay turned back to their play, they heard a pop. Then another. What they thought, fleetingly, might have been fireworks were gunshots. The man was shooting at two members of the temple. He fired at one of them seven or eight times.
‘‘He didn’t want him to live,’’ Abhay recalled.
The children ran inside, crying out warnings. At first, there was confusion. But as gunfire echoed inside the temple, the adults understood that this was not child’s play. They herded Amanat and Abhay into a small pantry in the temple’s kitchen, and, together, they all huddled in terror.
In the midst of the tragedy, the two children have emerged as unlikely heroes. Members of the temple said the warning came in time to save the lives of others as a man later identified as Wade Michael Page went on to kill six people before being gunned down by a police officer outside.
‘‘They are both, brother and sister, heroes. I call them heroes,’’ said Baljit Singh, whose wife, Jaspal, was in the kitchen and heeded the warning. He estimated that the children were able to warn more than a dozen people. Speaking publicly for the first time, the children said they were proud that they were able to come to people’s help.
‘‘I’m glad I stayed back because I could save those people,’’ Abhay said in the interview Tuesday as he sat with the rest of his family in their home in a suburb of Milwaukee.
Abhay said that in the pantry, he and his sister were packed in with more than a dozen people. They shut the door, which had no lock, and stayed silent, the quarters so tight that Abhay could not reach his hands toward the ceiling.
A tall cooler blocked the line of sight from outside the kitchen into the pantry, and the shooter seemed not to know that people were hiding inside.
The children said that as they hid, they could hear bullets crashing into metal. Containers of food falling. The screams of victims. Amanat said she was scared she was going to die.
Another group was hiding in the temple’s basement, but those in the pantry had no idea what was happening outside.
Amanat used someone’s cellphone to try to send her mother a text message, telling her to stay away from the temple.
Abhay began to smell something burning — part of the meal for his sister’s birthday lunch. Those huddled in the pantry started to worry that a bullet could strike a gas line, sparking an explosion.
One of them called the children’s mother, Kamwal Singh, 36, who was frantic and weeping outside. They asked her to try to get someone to shut off the gas. They also told her that her children were with them.
Eventually, the sound of shooting stopped.
The group stayed quiet for more than an hour . Once police entered the kitchen, a wave of relief washed over the terrified group. There were bodies scattered around the temple. Survivors were taken to a bowling alley across the street.