How to get the number of children in a displayGroup in corona?

By | January 24, 2012

Here is a way to get the number of children in a displayGroup in corona.

local value = mygroup.numChildren
print ("number of children in mygroup : "..value);

Each children ca be accessed via the child index.

Leave a Reply

Your email address will not be published.