Click the green flag - Scratch walks over to the hat and then wears it.
Ideas for remixing - pick up more things. Put the hat back down and create someone else to pick it up.