What do you call when two guys in your classes, constantly get in your personal space?

These two guys who I had a class with this year kept getting in my personal space even though I didn’t like it and rolled my eyes showing them I am not interested then they said sexual things behind my back I remember crying in the bathroom and this girl in my class saw me and comforted me. I am so glad I don’t ever have to see them again but what do you call what they did?
What do you call when two guys in your classes, constantly get in your personal space?
Post Opinion