docs for animate