Is it okay to to get mad at a 12 year old if the slap your ass?

A few days ago a group of boys from my school were walking behind me and suddenly one of them slapped my ass. I turned around to hit them but then realised hey were about 12 (im 15) so I did nothing.
Is it okay to to get mad at a 12 year old if the slap your ass?
Post Opinion