title: How to access children of children recursively?
body: <p>I have a Canvas which has many components inside it and those again, have many components inside them. </p>
  
  <p>getChildren() returns only the top level children. What is the best way to retrieve all the children (children of children of children and so on). </p>
  
  <p>Well, I sorta know how to do this by iterating through the children, but the code is really messy. I'd prefer to use a nice recursive function. Has anyone written this before? Or is there a Util class to do this?</p>