Last updated March 2020
node:children — Return an iterator of all child nodes
Return an iterator of all child nodes of the specified node. Any text nodes are also included.
for child in node:children() do print(child:name()); end
Was this page helpful?