After a wizard loses his magic hat in a duel, the hat is discovered by a group of little blue penguins. The inquisitive little penguins accidentally cause the hat to take them on an adventure through time and space.