Is an army of ants marching towards the biscuit or sweets in your pantry? create a "moat" around the object by surrounding it with adhesive tape placed sticky side up.