Does he like me

I had this weird epiphany the other day that I know how girls act when they like a guy but I don’t know how guys act when they like a girl. I mainly don’t know this because no guy has ever asked me out or to my knowledge liked me. There’s this guy now and we aren’t really friends like we talk occasionally and have banter , but I have noticed that every time we talk he always makes some effort to like touch me in some way( not in a creepy way). Like even the other day i wasn’t even in a conversation with him at all he just walked by me and ran his hand across my back(not creepy) as he walked by. Like I know as a girl this is what I would do for a guy I liked but I don’t know how guys think or do. Like maybe he just wants to be friends with me and that’s why he’s getting my attention or he’s just like that. I have no idea. Help!