getAnimation redesigned, with cache.