In C# I found a method that was pretty sweet that allowed you to get all the descendants and all of THEIR descendants from a specified control.
I\'m looking for a si
This seems to get ALL nodes. (In Kotlin)
fun getAllNodes(root: Parent): ArrayList { var nodes = ArrayList() fun recurseNodes(node: Node) { nodes.add(node) if(node is Parent) for(child in node.childrenUnmodifiable) { recurseNodes(child) } } recurseNodes(root) return nodes }