I think my teacher is trying to come onto me?

Idk what to do? I mean I’m not trying to make it awkward if he’s not. I come over to his room after classes a lot for help and afterwards he hugs me for a long time like really tight and stops whenever he hears someone come by. Like just yesterday when he was hugging me he thought he heard someone and stopped and peeked out the door but no one was there so he kinda chuckled and continued. He then told me to make sure I come back today and that he’d be waiting but I didn’t come. He also touches my arm and my lower back a lot. He also smiles at me a lot during class and even if I’m late I don’t get in trouble. He tells me I’m like a daughter to him so idk if that’s why he’s like this with me or not. But one time I could’ve sworn he was looking at my legs or something. I was wearing some shorts and a long shirt that came to mid thigh, you couldn’t rly see my shorts. I just looked up and I think he was looking but he looked away so I don’t exactly know what he was looking at. He always calls me beautiful/gorgeous too. Like I said if he’s not up to anything I really don’t want him to accuse him of anything. He’s a rly nice teacher but idk