Get animation from string