I've noticed that in Blizzard's XML code, animations can have a 'targetKey' attribute which specifies which region of the animation's animation group's target frame () is animated. This allows frames to have multiple animations which each affect a different region of the frame, rather than the frame as a whole.
The only way to more or less replicate this in lua is to create an animation group for the region itself, apparently, and then attach the animation to that animation group. This would mean having several animation groups, one for each region.
Is there any lua API to replicate the XML functionality?
Reason I'm asking this is because I'm trying to more or less restore the old world map player arrow. I managed to scale the thing down again and I can edit individual animations, but I'm trying to assign the scale animation to rotatingRing instead of expandingRing (which I'll hide).