Harassment?

I know this question is stupid and I might get hate but this guy in my science class sits right beside me and at times he randomly grazes his fingers on my thigh up and down and it makes me really uncomfortable. Is it considered as harassment? (Please keep the rude comments to yourself.)