Implement when clicked hat