Hey Clickers! Can someone help spark my brain for an obvious solution for this here problem....
So I create a number of active objects and line them up one by one, I then want to center the objects relative to a parent object. See this attached image, the top blue box is what I have currently, I'd like to dynamically achieve the bottom box.
I'd like to be able to center at any time I call on it, during or after the child objects creation..
I've attached what I have so far.. I'm sure there's a simple way, but nothing is coming to me right now >_<
Bonus points if it can work with variable width objects too, eg some objects being 32 pixels wide while the one next to it is say, 24 pixels wide, and it can still center them from end to end.