I know...because it happened to me. A religious brother who taught art class at my junior high school put the moves on me. Faced with a similar situation, I simply said, "Brother, please don't try to hug me and stuff, that makes me feel uncomfortable." ...and then I went home and told my mom.
The next week, in art class, I told the religious that I had told my parents that while I liked art class, I felt uncomfortable with his attempt to "hug" me. At my mother's instruction, I told him "My mother told me just to tell you how uncomfortable it makes me and that if I feel uncomfortable again, I will be telling my parents."
Needless to say, we never had to deal with that issue again.
I was thirteen. My father was generally absent. I knew exactly what was going on. Don't underestimate the understanding of a kid.
A couple of homosexuals hit on me as well, but I was a bit older (16). And I rejected their "advances" as well. But a 12 to 16 year old kid (what to speak of younger age kid) is supposed to be protected - not just from predators, but from their own immaturity and weakness. Homosexuals preying on emotionally weak children and adolescents are reprehensible.
It certainly would be a good world if all kids had the emotional maturity and strength to withstand predators, but they don't. And sometimes the "come on" is hard to resist - up to and including the use of duct tape.