You attempt to pick up the glass shards with your hands, like a normal person would. Instead, you suddenly find yourself unlocking a strange dimensional pocket called an "Inventory". Congratulations! You can now pick up whatever you want and...
Uh... hang on a second. It looks like your newly-unlocked Inventory is already full for some reason? There's some kind of gross crumpled hat inside of it, a top hat maybe?
...Oh, wait. Uh, don't worry about that. Let's not look a gift hat in the mouth or think too hard about where it might have come from.