Please don't judge

Can I get pregnant from rubbing on my bf dick but I had my underwear on and I was wet and he has his boxer on but the tip was a bit out and he had precum? He says it dried before I began to dry hump him so could I be pregnant because I heard of people getting pregnant from precum