Before computers, animations were hand-drawn. It means every movement keeping in mind what will happen next, was drawn. Once done, it was then played as a sequence to make it appear like a movie or cartoon. One such example is Anime which is entirely hand-drawn. Now that we have moved to the digital era, it has become cheaper as you can do it on computers. So even if there are mistakes, they can be corrected with less effort.