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(); }