Purpose
Returns the number of layers in the project.
Syntax
int GetNumLayers();
returns an integer of the number of layers in the project.
Example
function Update()
{
var x = Document.GetNumLayers();
}
Returns the number of layers in the project.
int GetNumLayers();
returns an integer of the number of layers in the project.
function Update()
{
var x = Document.GetNumLayers();
}