How can I create or clone (in the script) the group nodes based on the template?
Like L0,L1,L2,L3 …
Templates are just an editor construct. You can clone single nodes with http://www.defold.com/ref/gui/#gui.clone and a tree of nodes with http://www.defold.com/ref/gui/#gui.clone_tree regardless if they are made from a template or not.
2 Likes
ok. succeded with gui.clone
2 Likes