The people who say that stuff to me are usually strangers or people I don't really know. However, I do occasionally hear it from female friends, usually when they are venting to me about a bad breakup or interaction or something. I can leave spaces where I don't feel welcome, but it is the "one of the good ones" mentality that I feel hurts the hardest, as that often comes from people who are trying to be nice, like friends, and to react negatively to that might be seen as rude.
The whole thing with the person who did that to me is... confusing honestly? I am not sure if it was sexual harassment, as I am AMAB and male presenting (I'm pretty sure my gender identity is either cis, genderflux, or male non-binary), and he is VIOLENTLY heterosexual, and didn't want to have sex with me. I'm going to tell the full story, of the person and the events, as follows, because I honestly don't know what to make of it:
So, this is a person I dislike. And that isn't just because of the "robot" incident. He is obnoxiously loud and disruptive in class, disrespectful, and is just... I am having difficulty qualifying it with words, but the mask he wears at school is pornographic in nature (anime girls with aheago faces) and he will constantly draw attention to it. This incident happened over a year ago, on a bus ride during a field trip. He was talking about sex, and asked me "So, who do you wanna f*ck?". I responded "I'm not really interested in that.", he asked me if I was gay, I said no (I am closeted panromantic and knew that at the time, but I was DEFINITELY not coming out because of him), and he says "Wait really, you're like some kinda robot?" He then proceeded to vividly describe sexual experiences or organs, with the question "does that turn you on?" or "so you don't like the idea of...". I asked him to stop, and he laughed and continued. Some other people, his friends, were watching him, and found the thing funny as well. Eventually it got to the point that I was holding my hands over my ears (school bus in motion, couldn't move away) because I didn't want to have to be made uncomfortable anymore by him. He eventually got bored and stopped, finding my reactions funny. I'm not sure if that was sexual harassment or not. I feel like if I told an adult at my school or even a person who wasn't a good friend about this, they would say "he was being an asshole, but it was over a year ago and you weren't really sexually harassed, he was just making a bad joke". Even then, telling an adult about the problem probably wouldn't do anything, because of another incident with this kid. He was in some kind of relationship with a girl in the grade below him, who sent him nude photos because he pressured her. She asked him to delete the photos, and he blackmailed her by saying he would only do it if she at first kissed him (she did), then upped it to having sex with him (she didn't). She told an adult when it got to this point, and he was suspended for a week, with the rumor going around that he would be expelled, but he ended up not being expelled. The girl left the school. So if another person couldn't deal with him by reporting him for documented attempted rape, then I don't see how I would be able to have my experiences with him have any impact on the matter, as they would almost certainly be put off to "he was just making a joke". I see him almost every day, and try to ignore the fact that I hate him so much, and I think that as long as I don't mention not wanting to have sex again he won't do it again, but he is constantly and openly talking about sex stuff, and asking him to stop just gets him to laugh and continue.