Hey Malcolm,
As you don't know in advance how big your bg will be, I think the best way would be to use a dummy-value.
To clarify, I often use dummy-values to animate a bar to a certain height where I don't know how high it has to be. So I use a known value of a dummy quad and I multiply that with a dynamic value to generate a dynamic animation.
It sounds abstract but there's how it works:
• create a quad which you set invisible or where you don't assign a material to it.
• create an animation controller where you animate the X-scale from 0 to 1
• create a logic where you multiply the X-scale of the dummy-quad with the boundingbox of the bg. So when the value of the X-scale is 0 (0*1000 = 0) and when it's 1 (1*1000 = 1000) which you can then add or subtract from the position where your group is supposed to end.
You would also have to take into account an offset ofcourse. If your group is placed at 100px of the edge of the scene, you would probably add 100px or a bit more offset to make sure the group is out of the image.
This way when you play the dummy-animation (which scales from 0 to 1) the Visual Logic animates your group in.
If you wanted to add some interpolation, you can do that by adding the interpolation on the dummy animation.
Best regards,
Kenneth
#XPression