I have a long tail that I let fly. Every time I go through a gap, I leave a bit of my tail in the trap. What am I?

Image of Riddle Question

Can you solve this riddle without clicking that tempting answer button?