However, the law says that officials cannot hit people in prisons or mental hospitals in the United States.
Some people think it is not fair that officials can hit schoolchildren and not prisoners.
Many school districts have their own laws and rules that forbid hitting students.
These laws change from state to state.