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. Required fields are marked *




Theme by HermesThemes

Copyright © 2018 CoderzHeaven. All Rights Reserved

Please wait...

Subscribe to our newsletter

Want to be notified when our article is published? Enter your email address and name below to be the first to know.