Greck wrote:Anime Studio Forum Forum Index -> Scripting
I talk about scripting. How can I get access using lua ?
Sorry, I didn't saw the section, I just click on View posts since last visite and open everything on tabs.
Please excuse me, I thought you were one of that newbies which never read the tutorials.
Sorry I can't help about scripting. Anyway, welcome to the forum.
GroupLayer LayerAsGroup(layer)
Converts a generic layer object into a group layer.
Return value (GroupLayer): a GroupLayer object layer (MohoLayer): the layer to cast
After that you can use the members of the Group Layer:
int CountLayers()
Returns the number of sub-layers in the group.
Return value (int): the number of sub-layers in the group
MohoLayer Layer(id)
Returns a layer in the group (starting at 0 for the first layer).
Return value (MohoLayer): a layer in the group id (int): index number of the layer