Machine learning models for implementing animation actions