A 10-year-old boy in a classroom just down the hallway from the room where a gunman killed 19 children and two teachers in Uvalde, Texas on Tuesday said the experience of hiding during the shooting was 鈥渢errifying.鈥

Jayden Perez told 麻豆影视' Merella Fernandez that when his class heard gunshots coming from down the hall, his teacher immediately locked their door and told them to hide and stay quiet.

鈥淔ive of us were hiding where we hang our backpacks, and the rest hid under a table,鈥 he said, adding that he was scared.

鈥淎fter a while the gunshots stopped. And then we heard gunshots again, and then they stopped completely.鈥

What they didn鈥檛 know at the time was that an 18-year-old had entered a classroom at Robb Elementary and killed two teachers and 19 children, most of them the same age as Jayden.

He said that his class was only able to get out of the school when police broke the windows, allowing them to climb out.

"It was a horrifying experience," he said. "Terrifying."

He mentioned that he had known one of the children killed in the shooting.

鈥淗e鈥檚 a good drawer,鈥 he said. 鈥淗e liked to draw Pokemon and anime. It was very good.

鈥淚鈥檓 just sad that some of my friends didn鈥檛 make it.鈥

Police are facing scrutiny for their actions during the shooting, with parents and officials questioning why the shooter was in the school for more than 40 minutes before police finally entered the building and shot him.