Q:

How do I know if my boyfriend wants to hang out with me because whenever his friends come around me he always stands away and doesn't say hi

Answer

If he's interested, he'll probably tell someone, he'll give you a certain look, he appears unexpectedly wherever you happen to be.