What does it mean when a guy friend touched your knee? Is he interested?

I have a guy friend that I've known since sophomore year. Now we're seniors and till this day we were friends but we never best friends. So one day, I went to a party at my best friends house. He was there because he's also friends with my best friend.

At the party he "joke" around about him being my boyfriend.

He said it out loud that he's my boyfriend, with everyone here. Then my friend's mom asked him if he likes me and he said yess (but I didn't think much into it)

As time passes at the party, I was sitting down by him on the couch and I noticed he would casually touch my knee a lot of times at least 4 times. Then he would randomly nudge me with his shoulder.

Then it led to me and him laying down together on the couch with my legs on top of him and me snuggled up on his shoulder. *Note: he doesn't have his arms around me though.
I just ended up sleeping on his shoulder/chest with me hugging his shoulder.
(He didn't complain or anything, which kinda confuses me? Maybe he's just comfortable with me?)

Also so my friends would say "we're goals" when we were laying down.

But note this: according to my friends he still has a thing for this girl
What does it mean when a guy friend touched your knee? Is he interested?
Post Opinion