How can i still have the box collider on but have no effect on the 2 objects colliding only?

How can i still have the box collider on but have no effect on the 2 objects colliding only?

Thanks Solved