Layer.itemIndex

int itemIndex

Description

The layer index sans layer groups, how Photoshop would index them.