How do I make a collection system?

Something like this. Obviously the “mesh” and overlap events would be specific to your situation but you can get the idea.