For kids back in the sane days, this was called “learning your lesson.”
Yep. Got whacked several times by other kids’ moms, dads, teachers, school yard monitors, theater ushers, etc. Always felt a little embarrassed, never ‘assaulted’.