Students used anything from chairs to a foosball table to keep themselves out of harm's way during dangerous situation.
Terrified students at UCLA used whatever they could to barricade themselves inside classrooms as a crazed gunman stalked the campus Wednesday.
Read: UCLA Gunman Had a 'Kill List' and Is Linked to Woman Shot Dead in Minnesota
But working against them here was a flaw that could have proven tragic: The doors open outward and do not have locks.
With improvisation, anything can be used to barricade yourself inside a room, like chairs, tables, electrical cords and, even a foosball table.
Safety expert Bill Stanton showed Inside Edition how to do it.
"I am very proud of [the UCLA students]. They looked for anything and everything to secure those doors," he said.
Stanton said to take something as simple as a screwdriver and wedge in the door handle, then step away. A folding chair could also be used to block a door as well.
Stanton also demonstrated how to build a strong barricade if an unthinkable situation like yesterday's UCLA shooting happens.
He said to take as much material available like chairs, tables, desks, “there is never enough stuff,” to put in front of the door.
Read: How to Use a Belt to Barricade a Door During a Shooting
The killer, 38-year-old Mainak Sarkar, was a disgruntled Ph.D student who shot Professor William Klug, whom he accused of stealing "intellectual property."
Police say they found a "kill list" at Sarkar's home. On the list were a woman reported to be ex-girlfriend found slain in Minnesota.
Watch: Uber Kalamazoo Driver Is Dragged Out of Court After Lunging at Crying Witness