I suggest you put on closed-toed shoes and step on it and see what happens. If it squishes it's probably some sort of spider spawn; if it crunches it's probably some sort of pill or piece of candy. Either way you should then be able to pick it up safely, perhaps with a bit of kitchen roll, and throw it out.