A high school teacher in Texas is in hot water for getting physical with a student -- and it was all caught on camera.

Mary Hastings, 63, who teaches at Ozen High School, in the the town of Beaumont, was arrested last Friday after slapped a boy five times while referencing another student as she says, "Because you’re stopping him from graduating, you idiot ass!" She then appears to mimic him after he asks why she struck him.

It's unclear what precipitated the incident. It's also unclear what happened after the camera stopped rolling.

The school has released a statement saying it is aware of what transpired.

Hastings was charged with assault. One student, who did not want to be identified, said the video is one-sided and doesn't show how students tend to mistreat Hastings, who has been placed on leave while officials investigate the matter.