Question: Could you get in trouble if you're with someone and they have illegal drugs and you honestly don't know until they get caught?
Answer: A person can get in trouble for another person's possession of illegal drugs if they knew about it and/or participated in obtaining or transporting it.
If, for example, you are at the mall with a friend and the friend has marijuana in his pants pocket, and you do not about it, you did not purchase or help him obtain it, you most likely will not be in trouble.
However, it can still be a big hassle to have to explain the situation to the cops and to your parents. That is why it is important to choose your friends carefully. Those kids who want to use drugs should not be your friends. It just isn't worth the trouble!