cartoon character with a hat and legs