cartoon character with hat and legs